Encodings
These flags determine the encoding of input/output data for XML document.
See also
XMLEncoding
XMLDocument.load_buffer()
XMLDocument.load_file()
XMLDocument.save()
XMLDocument.save_file()
XMLNode.append_buffer()
XMLNode.print()
Attributes
- pugi.ENCODING_AUTO = 0
Auto-detect input encoding using BOM or ‘<’ / ‘<?’ detection; use UTF8 if BOM is not found.
- pugi.ENCODING_LATIN1 = 9
ISO-8859-1 encoding (also known as Latin-1).
- pugi.ENCODING_UTF16 = 4
UTF16 with native endianness.
- pugi.ENCODING_UTF16_BE = 3
Big-endian UTF16.
- pugi.ENCODING_UTF16_LE = 2
Little-endian UTF16.
- pugi.ENCODING_UTF32 = 7
UTF32 with native endianness.
- pugi.ENCODING_UTF32_BE = 6
Big-endian UTF32.
- pugi.ENCODING_UTF32_LE = 5
Little-endian UTF32.
- pugi.ENCODING_UTF8 = 1
UTF8 encoding.
- pugi.ENCODING_WCHAR = 8
The same encoding
wchar_thas (either UTF16 or UTF32).