|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Some of the popular character encoding are ISO 8859 series, Unicode, Big5, Gubiano (gb2312), etc.
The most common encoding, ISO 8859-1 (Latin 1) will work perfect for English and French and other roman based languages. Arabic characters could be encoded with 'Windows-1256' or 'ISO 8859-6' or 'UTF-8'.
Chinese characters will display properly if also using the GB2312 for simplified Chinese characters and Big5 for traditional Chinese characters ( Taiwan and Hong Kong).
If there are more languages on the same web page, UTF-8 is recommended as it supports most of the characters.
Choosing the right encoding is a very important part of creating an web page. These Chinese characters äº”ä¸€ä¹ äºŒäº”å… ä¸‰ä¸‰ä¹ä¹ will look different if not using the right character encoding. This is page encoding is UTF-8 and the Chinese text looks OK. Using the wrong encoding will display only question marks instead of Chinese text.
E.g.: Using iso-8859-1 encoding to display Chinese and English characters: 
|