Last post Dec 20, 2005 04:34 PM by Caddre
Dec 20, 2005 03:27 PM|Janh|LINK
I am using Windows 2003, IIS 6, Atlas and Web Service.
I have set up a website using ASP.NET 2.0 framework, and put that under a virtual directory with its own Application Pool and web.config. The virtual directory is under a website built with ASP.NET 1.1 framework. Everything works well, except when displaying
unicode, which turned into a bunch of "?".
However, when I create a new website and put the same exact code in there, the unicode turned out correctly. It's also fine when I use the built-in Visual Studio 2005 web server.
This is what I do to display unicode:
I need to do such conversion because if I don't convert to readable text
before sending it over via Atlas and Web Service, it sends whatever gibberish you see in the database and changing browser encoding setting to view text doesn't help.
Is this a bug? Does putting ASP.NET 2.0 under ASP.NET 1.1 cause problem normally?
Dec 20, 2005 04:34 PM|Caddre|LINK
You are getting character conversion you may need to do unicode encoding in VS and do column level collation in the database with unicode data types in SQL Server. Try the link below for unicode encoding in VS and run a search for column level collation
in SQL Server BOL (books online). I am assuming you know there are many Chinese character code pages in SQL Server. Hope this helps.