MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See for all notifications.

Your Search Results


    This feature has been removed from the Web standards. 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: teoli,
    Hide Sidebar