The character set of a document is determined in part by the language it is written in. You can override a client’s default character set for a document, a set of documents, or a directory by selecting a resource and entering a character set for that resource.
Most browsers can use the MIME type charset parameter in HTTP to change its character set. If the server includes this parameter in its response, browsers changes its character set accordingly. Examples are:
Content-Type: text/html;charset=iso-8859-1
Content-Type: text/html;charset=iso-2022-jp
The following charset names recognized by some common browsers are specified in RFC 17.000. The names that begin with x- are not recognized by common browsers:
Additionally, the following aliases are recognized for us-ascii:
The following aliases are recognized for iso_8859-1:
To change the character set, follow these steps: