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.
encoding = document.inputEncoding;
inputEncoding is a read-only property.