problem with displaying Unicode strings

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ziemowit Skowronski

    #1

    problem with displaying Unicode strings

    Hi,

    I have a problem with displaying unicode strings in ASP.NET (C#). I
    recieve data from MS SQL Server database and use them to construct
    navigation on the page. Because I'm from Poland, I have to display
    Polish accent characters and here is a problem. On my testing/developing
    server (Windows 2003 Server) all works fine, but on production server
    (Windows 2000 Server) Polish accents are missing. Database collation is
    set to Polish_CI_AS, all codepages in web.config (request and response)
    are set to utf-8, culture is set to pl-PL, charset in result HTML is
    also set to utf-8 and xhtml header has also encoding utf-8.


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • Jon Skeet [C# MVP]

    #2
    Re: problem with displaying Unicode strings

    Ziemowit Skowronski <ziemowits@wp.p l> wrote:[color=blue]
    > I have a problem with displaying unicode strings in ASP.NET (C#). I
    > recieve data from MS SQL Server database and use them to construct
    > navigation on the page. Because I'm from Poland, I have to display
    > Polish accent characters and here is a problem. On my testing/developing
    > server (Windows 2003 Server) all works fine, but on production server
    > (Windows 2000 Server) Polish accents are missing. Database collation is
    > set to Polish_CI_AS, all codepages in web.config (request and response)
    > are set to utf-8, culture is set to pl-PL, charset in result HTML is
    > also set to utf-8 and xhtml header has also encoding utf-8.[/color]

    See http://www.pobox.com/~skeet/csharp/d...ngunicode.html

    --
    Jon Skeet - <skeet@pobox.co m>
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

    If replying to the group, please do not mail me too

    Comment

    Working...