|
Posted by Jukka K. Korpela on 02/03/07 22:21
Scripsit fuli open:
> I will add either of the above two in the head area.
You should find out which encoding you are actually using and declare that,
instead of trying random magic incantations. When people don't know their
encoding, it's usually windows-1252.
> But as there are
> Chinese symbols in some of the pages, I also need to place following
> meta declaration in the head:
>
> <meta http-equiv="content-type" content="text/html; charset="gb2312"/>
You should only declare the encoding you actually use. If you use <meta>
tags for the purpose, there can only be one such tag per document (page),
though different documents could have different encodings and consequently
different <meta> tags.
So if a particular document is in fact GB2312 encoded, the above <meta> tag
is OK.
> Does this line conflict with either the 8859-1 or UTF-8 line?
Of course. You cannot change the encoding within a document.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
Navigation:
[Reply to this message]
|