CharSet Example
Using UTF8 encoding (internationalized encoding)
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
Use Chinese gb2312 encoding
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/>
The following coding methods, such as: Chinese GBK, Traditional Chinese Big5, Japanese euc-jp, Korean euc-kr, each language encoding is different, so need to use CharSet to provide a way to encode the page, otherwise the page is likely garbled.
UTF-8 is no country code, which is independent of any language, any language can be used (the dream of the use of this code). Referrer: http://www.dreamdu.com/xhtml/charset/
The following are common coding examples
- Arabic (iso-8859-6)
- Catalan (iso-8859-1)
- Chinese (Simplified) (GB2312)
- Chinese (Tr aditional) (BIG5)
- Danish (iso-8859-1)
- Dutch (iso-8859-1)
- 中文版 (iso-8859-1)
- Espe Ranto (iso-8859-3)
- Finnish (iso-8859-1)
- French (iso-8859-1)
- Georgian (UTF-8)
- Germa N (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)
HTML Meta CharSet defining page encoding information