inputEncoding
Summary
Gets the character encoding that is used for the text that is loaded into the document object.
Property of dom/Documentdom/Document
Syntax
Note: This property is read-only.
var inputEncoding = document.inputEncoding;
Return Value
Returns an object of type StringString
The character encoding that is used for the text that is loaded into the document object, or null when it is unknown.
Related specifications
- DOM Level 4
- Candidate Recommendation
- DOM Level 3 Core
- Recommendation
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]