MDN wants to learn about developers like you:

document.inputEncoding Redirect 1

« DOM Reference

This feature has been removed from the Web. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.


Returns a string representing the encoding under which the document was parsed (e.g. ISO-8859-1).

Warning: Don't use this method! This method has been removed from the draft DOM 4 specification; existing implementations will likely be removed in the near future.


encoding = document.inputEncoding;

inputEncoding is a read-only property.


Document Tags and Contributors

 Last updated by: Sheppy,