From http://www.w3schools.com (Copyright Refsnes Data)
Complete Document Object Reference
The inputEncoding property returns the encoding used for the document (when parsing).
| documentObject.inputEncoding |
The following code fragment loads "books.xml" into xmlDoc using loadXMLDoc() and displays the XML encoding, standalone attribute, and XML version of the document:
Example
Output:
Try it yourself » |
Complete Document Object Reference
From http://www.w3schools.com (Copyright Refsnes Data)