pugixml.pugi.XMLEncoding

class pugixml.pugi.XMLEncoding

Bases: pybind11_object

These flags determine the encoding of input/output data for XML document.

Members:

ENCODING_AUTO : Auto-detect input encoding using BOM or ‘<’ / ‘<?’ detection; use UTF8 if BOM is not found.

ENCODING_UTF8 : UTF8 encoding.

ENCODING_UTF16_LE : Little-endian UTF16.

ENCODING_UTF16_BE : Big-endian UTF16.

ENCODING_UTF16 : UTF16 with native endianness.

ENCODING_UTF32_LE : Little-endian UTF32.

ENCODING_UTF32_BE : Big-endian UTF32.

ENCODING_UTF32 : UTF32 with native endianness.

ENCODING_WCHAR : The same encoding wchar_t has (either UTF16 or UTF32).

ENCODING_LATIN1 : ISO-8859-1 encoding (also known as Latin-1).

pugi.ENCODING_AUTO = <XMLEncoding.ENCODING_AUTO: 0>
pugi.ENCODING_LATIN1 = <XMLEncoding.ENCODING_LATIN1: 9>
pugi.ENCODING_UTF16 = <XMLEncoding.ENCODING_UTF16: 4>
pugi.ENCODING_UTF16_BE = <XMLEncoding.ENCODING_UTF16_BE: 3>
pugi.ENCODING_UTF16_LE = <XMLEncoding.ENCODING_UTF16_LE: 2>
pugi.ENCODING_UTF32 = <XMLEncoding.ENCODING_UTF32: 7>
pugi.ENCODING_UTF32_BE = <XMLEncoding.ENCODING_UTF32_BE: 6>
pugi.ENCODING_UTF32_LE = <XMLEncoding.ENCODING_UTF32_LE: 5>
pugi.ENCODING_UTF8 = <XMLEncoding.ENCODING_UTF8: 1>
pugi.ENCODING_WCHAR = <XMLEncoding.ENCODING_WCHAR: 8>