usedCharset property
Gets the character set used to decode the current document.
![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: String
the character set used to decode the current document.
Remarks
The character set used to decode external script references is based on a number of factors, including the value of the charset attribute specified for script elements, byte order marks, and HTTP headers.
See also
Show:
