inputEncoding property
Gets the character encoding that is used for the text that is loaded into the document object.
Syntax
HRESULT value = object.get_inputEncoding(BSTR* p);
Property values
Type: BSTR
A BSTR value that represents the character encoding that is used to parse the document, or a NULL value if the encoding is not specified or returns an unknown value.