|
Character set recognition defines which character sets Internet Explorer recognises in the HTTP header of HTTP replies, and which character set it recognises in the <meta> tag. It also specifies which built-in character set translation the character set maps to. Table of base charsets, display names, and aliases In the following table, the base character set is the basic translation built into IE3. Aliases lists all other character set IDs that are recognised and can be represented without translation, using the "base charset" translation method. This does not, in all cases, mean that alias and base character set represent the same character set; the alias character set can be a subset of the base character set. Base charset is not a recognised name unless repeated in the "aliases" column.
Correct Usage The correct usage is as specified in RFC 1341. For example: <meta http-equiv="Content-Type" content="text/html; charset=Windows-1251"> This should be in or before <head> but certainly before <body>. Priority The following list shows the priorities of character set declarations that Internet Explorer will use. Use any character set parameter passed in the HTTP content-type Use the <meta> tag Use the user preference for default document encoding A frameset can have different character sets per frame. Position of <meta .. charset=..> in the page The <meta ... charset...> sequence can appear anywhere in the document before the <body> tag. In any case, it affects the whole document, including <title>, appearing before the <meta ... charset...> tag. |
More information Character set recognition Complete character set recognition, including Internext Explorer add ons |