pugixml.pugi.XMLEncoding
- class pugixml.pugi.XMLEncoding
Bases:
IntEnumThese flags determine the encoding of input/output data for XML document.
Attributes
- ENCODING_AUTO = 0
Auto-detect input encoding using BOM or ‘<’ / ‘<?’ detection; use UTF8 if BOM is not found.
- ENCODING_UTF8 = 1
UTF8 encoding.
- ENCODING_UTF16_LE = 2
Little-endian UTF16.
- ENCODING_UTF16_BE = 3
Big-endian UTF16.
- ENCODING_UTF16 = 4
UTF16 with native endianness.
- ENCODING_UTF32_LE = 5
Little-endian UTF32.
- ENCODING_UTF32_BE = 6
Big-endian UTF32.
- ENCODING_UTF32 = 7
UTF32 with native endianness.
- ENCODING_WCHAR = 8
The same encoding wchar_t has (either UTF16 or UTF32).
- ENCODING_LATIN1 = 9
ISO-8859-1 encoding (also known as Latin-1).