javascript document characterSet
@March 15, 2008, 1:22 a.m.
characterSet | Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM n/a |
|
Read-only |
Indicates the character encoding of the document's content. |
|
Example | |
if (document.characterSet == "ISO-8859-1") { // process for standard Latin character set } |
|
Value | |
Case-insensitive alias from the character set registry (ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets). |
|
Default | |
Determined by browser. |
Permanent URL:
http://javascript.gakaa.com/document-characterset.aspx
Powered by Linode.