Javascript Reference
Categories: document

javascript document defaultCharset

@March 15, 2008, 1:22 a.m.
defaultCharset Firefox/Netscape/NN n/a IE 4 Chrome/Safari/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.


Powered by Linode.