document.inputEncoding

« DOM Reference

Deprecated
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.

Summary

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.

Syntax

encoding = document.inputEncoding;

inputEncoding is a read-only property.

Specification

Document Tags and Contributors

Last updated by: kscarfone,
Hide Sidebar