Chinese characters

E

edge

hi,

I can go and type perfectly chinese characters in my table at sqlserver 2000
.. Now I am trying to get the data out of this table and display in my
webpage, but just a bunch of ???? are coming.
What I am missing here to display correctly the chinese characters?

TIA
Edge
 
J

John Timney \(ASP.NET MVP\)

you probably need to set your character set in the content type - for
example

Response.ContentType = "text/plain; charset=big5";

You need to check the syntax - thats off the top of my head

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
J

Juan T. Llibre

Are you setting web.config's fileEncoding, requestEncoding
and responseEncoding to Chinese Simplified "GB2312" or
Chinese Traditional "big5" or, are you using "utf-8" ?


<globalization
requestEncoding="GB2312"
responseEncoding="GB2312"
fileEncoding="GB2312"
/>

Also, it probably would be good to set culture and UIculture to "zh-CN".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top