javascript document charset
| charset | NN n/a IE 4 DOM n/a |
|
Read/Write |
Indicates the character encoding of the document's content. This property is dropped from IE 6 for Windows in favor of the document.defaultCharset property. For Netscape 6, use the document.characterSet property. |
|
| Example | |
if (document.charset == "csISO5427Cyrillic") {
// process for Cyrillic charset
}
|
|
| Value | |
Case-insensitive alias from the character set registry (ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets). |
|
| Default | |
Determined by browser. |
|
Previous: javascript document characterSet
Next: javascript document body
536,Nickname,Homepage or email,Comments here,Add comment
