the html code to add to the header is
CODE
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
asp.net <--> mysql, cannot display chinese why??
|
|
Feb 17 2006, 01:19 PM
Return to original view | Post
#1
|
|
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"> |
|
|
Feb 17 2006, 08:48 PM
Return to original view | Post
#2
|
|
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. |
|
|
Feb 17 2006, 10:26 PM
Return to original view | Post
#3
|
|
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: | 0.0131sec
0.73
6 queries
GZIP Disabled
Time is now: 24th December 2025 - 10:21 AM |