473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Chinese characters

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

Nov 19 '05 #1
2 1334
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

"edge" <su*******@NOSPAMgmail.com> wrote in message
news:uW**************@TK2MSFTNGP14.phx.gbl...
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

Nov 19 '05 #2
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".


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================
"edge" <su*******@NOSPAMgmail.com> wrote in message
news:uW**************@TK2MSFTNGP14.phx.gbl...
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

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jeff | last post by:
Having a problem displaying both german and chinese characters from a UTF-8 database on the same *.jsp page. Can make Chinese characters appear correctly by including the following lines: <%@...
6
by: Zhang Weiwu | last post by:
Hello. I am working with a php software project, in it (www.egroupware.org) Chinese simplified locate is "zh" while Traditional Chinese "tw". I wish to send correct language attribute in http...
8
by: Agnes | last post by:
In my .net ,i need to generate an xml file , however, user may input a chinese character, Then , the xml will got something unknow characters. the following is my code, Does anyone know how to...
8
by: pabv | last post by:
Hello all, I am having a few issues with encoding to chinese characters and perhaps someone might be able to assist. At the moment I am only able to see chinese characters when displayed as...
4
by: K | last post by:
I've an XML file in UTF-8. It contains some chinese characters ( both simplified chinese and traditional chinese). In loading the XML file with MSXML parser, I used the below code to retrieve...
1
by: paulineliu | last post by:
Hi, I would like to develop access databases for Chinese companies. I have microsoft access 2002 in windows XP. I am able to create labels in Chinese characters and enter Chinese characters in...
0
by: st.frey | last post by:
I've got a problem with importing chinese characters into a mysql-table and have read several mailings but didn't find a solution. i have a utf-8 text file that contains chinese characters. the...
5
by: Figmo | last post by:
I'm having a problem working with foreign characters (well....foreign to me anyway) I have a textbox control on a form. The font is set to MS Arial Unicode. If I use the Chinese input method...
2
by: Wassy | last post by:
Hi, i have a website which contains both chinese and english content which is stored in a database. Each record in the dB has an english and Chinese field. If a user enters a search string i have...
2
by: Flying Kite | last post by:
Hi All, I want to know how to print chinese characters on Zebra Printer, following code working fine with English string, but it's not working for Chinese string. It shows ASCII characters instead...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.