| | |
|
|
|
having trouble of seeing chinese character |
| message from Dennis Fang on 21 Jul 2004 |
Hey everyone,
I was trying to create a chinese hyperlink on the dreamweaver. Howevver, it
did not work. When I tried to save the file, a thing came out and told me its
not in the right form of character. When I tried to look on the web, all the
question marks came out (only the part with chinese) Can anyone try to figure
out what I should do in order to read all the chinese character?
Thsnks!
|
| cmbergin replied to Dennis Fang on 21 Jul 2004 |
<meta http-equiv="Content-Type" data="text/html; charset=iso-8859-1">
will tell the browser to interpret the page using the Latin-1 character set.
The entire character set is shown here:
http://www.utoronto.ca/webdocs/HTMLdocs/NewHTML/iso_table.html
I found the following character sets for Chinese. I don't know which ones are
preferred or widely supported:
NAME (ex: Latin-1)
CODE (ex: iso-8859-1)
Chinese Simplified (EUC)
EUC-CN
Chinese Simplified (GB2312)
gb2312
Chinese Simplified (HZ)
hz-gb-2312
Chinese Simplified (Mac)
x-mac-chinesesimp
Chinese Traditional (Big5)
big5
Chinese Traditional (CNS)
x-Chinese-CNS
Chinese Traditional (Eten)
x-Chinese-Eten
Chinese Traditional (Mac)
x-mac-chinesetrad
I think you can also use Unicode (UTF-8) for Chinese characters.
|
| Dennis Fang replied to Dennis Fang on 22 Jul 2004 |
Thanks for your reply.
I am thinking to use Chinese Traditional. So all I have to do is changing the
code?
Is this the correct form?
<meta http-equiv="Content-Type" content="text/html; charset=big5">
It still doesnt work.
What do I have to do? And there are so many different ones for Chinese
Traditional. Which one should I use?
Can you tell me what exactly codes I should change into?
Thanks!
|
| cmbergin replied to Dennis Fang on 23 Jul 2004 |
You've got the right idea, but it's only a start. The computer you're viewing
the page on has to have that character set installed. I'm not sure which
character sets are most popular.
If I were you, I'd probably look into using Unicode (UTF-8), because that's
pretty much universally supported these days. You'll have to change your page
encoding (as you tried above), you'll have to change your encoding for any
server-side scripting you use, and you *might* have to change the encoding on
your forms. You'll have to change the encoding in your database, too. Most
databases support Unicode natively, so that's not a real problem.
|
|
Archived message: having trouble of seeing chinese character (Macromedia Dreamweaver Web Design)