javascript document defaultCharset

defaultCharset NN n/a IE 4 DOM n/a

Read-only

Indicates the character encoding of the content of the document.

 
Example
 
var cset = document.defaultCharset;
 
Value

Case-insensitive alias from the character set registry (ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets).

 
Default

Determined by browser.


540,Nickname,Homepage or email,Comments here,Add comment