HTML DOM Document inputEncoding
Example
Display the character encoding for this document:
let encoding = document.inputEncoding;
Try it Yourself »
Definition and Usage
The inputEncoding property is deprecated. Do NOT use it.
The inputEncoding property may not work in future browsers.
Syntax
document.inputEncoding
Return Value
Type | Description |
String | The document's character encoding. |