Document.xmlEncoding

An attribute specifying, as part of the XML declaration, the encoding of this document. This is null when unspecified or when it is not known, such as when the Document was created in memory.

interface Document
@property
DOMString
xmlEncoding
()

Meta