characterSet
Returns the character set of the current document.
Syntax
charSet = document.characterSet
Parameters
Example
<input value="char" type="button" onclick="alert(document.characterSet);" /> // returns "ISO-8859-1"
Notes
For a complete list of character sets, see:
http://www.iana.org/assignments/character-sets.Specification
Netscape Communications http://developer.netscape.com |