HTML DOM Document inputEncoding
Example
Display the character encoding for this document:
let encoding = document.inputEncoding;
Try it Yourself »
Description
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. |
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.