Is there a way to read a UTF-16LE Xml document with xmlReadDoc?
Using this line of code
_document = xmlReadDoc( reinterpret_cast< const xmlChar * >( data.c_str() ),
0, "UTF-16LE", XML_PARSE_PEDANTIC | XML_PARSE_NOBLANKS | XML_PARSE_NONET )
instead of
_document = xmlReadDoc( reinterpret_cast<
Is there a way to read a UTF-16LE Xml document with xmlReadDoc?
Using this line of code
_document = xmlReadDoc( reinterpret_cast< const xmlChar * >( data.c_str() ),
0, "UTF-16LE", XML_PARSE_PEDANTIC | XML_PARSE_NOBLANKS | XML_PARSE_NONET )
instead of
_document = xmlReadDoc( reinterpret_cast<
Although I have contributed to a few (free) scientific applications (in C and
F77) for quite some time, I'm new to xml and libxml2 (this may explain the
naiveté of my question): I'm writing a C parser for an XML input (input only,
no file editing or writing out) - so the xmlTextReader API
(htt