inputEncoding property
Gets the character encoding that is used for the text that is loaded into the document object.
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: String
A String value that represents the character encoding that is used to parse the document, or a null value if the encoding is not specified or returns an unknown value.
Standards information
See also
Show:

