problem with displaying Unicode strings

  • Thread starter Thread starter Ziemowit Skowronski
  • Start date Start date
Z

Ziemowit Skowronski

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.
 
Ziemowit Skowronski said:
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.

See http://www.pobox.com/~skeet/csharp/debuggingunicode.html
 
Back
Top