Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 asp.net <--> mysql, cannot display chinese why??

views
     
silverhawk
post Feb 17 2006, 01:19 PM

Eyes on Target
Group Icon
Elite
4,956 posts

Joined: Jan 2003


First, check that your page is also using charset=utf-8 so the browser can auto detect the character set.
the html code to add to the header is
CODE

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">


silverhawk
post Feb 17 2006, 08:48 PM

Eyes on Target
Group Icon
Elite
4,956 posts

Joined: Jan 2003


The main difference is how they are stored in bytes.
Read this for some direction: http://en.wikipedia.org/wiki/Character_encoding

What browser do you use? Try going to view -> Character Encoding in firefox and select one of the chinese encoding methods and see whether the text got display or not.
silverhawk
post Feb 17 2006, 10:26 PM

Eyes on Target
Group Icon
Elite
4,956 posts

Joined: Jan 2003


Well, he said phpmyadmin displays it properly so i assume the data is stored correctly and its just being intepreted wrongly

 

Change to:
| Lo-Fi Version
0.0131sec    0.73    6 queries    GZIP Disabled
Time is now: 24th December 2025 - 10:21 AM