一:HTML4
-
<
meta
http-equiv
=
"
content-type
"
content
=
"
text/html; charset=UTF-8
"
/>
-
<
meta
http-equiv
=
"
content-type
"
content
=
"
text/html; charset=gb2312
"
/>
二:HTML5
-
<metacharset="utf-8">
<meta charset=utf-8>
三:一些编码
- Arabic (ISO-8859-6)
- Catalan (ISO-8859-1)
- Chinese (Simplified) (GB2312)
- Chinese (Traditional) (BIG5)
- Danish (ISO-8859-1)
- Dutch (ISO-8859-1)
- English (ISO-8859-1)
- Esperanto (ISO-8859-3)
- Finnish (ISO-8859-1)
- French (ISO-8859-1)
- Georgian (UTF-8)
- German (ISO-8859-1)
- Hebrew (ISO-8859-8-I)
- Hungarian (ISO-8859-2)
- Irish Gaelic (ISO-8859-1)
- Italian (ISO-8859-1)
- Japanese (SHIFT_JIS)
- Korean (EUC-KR)
- Norwegian (Bokm?l) (ISO-8859-1)
- Norwegian (Nynorsk) (ISO-8859-1)
- Occitan (ISO-8859-1)
- Portuguese (Brazil) (ISO-8859-1)
- Portuguese (Portugal) (ISO-8859-1)
- Romanian (ISO-8859-2)
- Russian (ISO-8859-5)
- Slovenian (ISO-8859-2)
- Spanish (ISO-8859-1)
- Swedish (ISO-8859-1)
- Yiddish (UTF-8)