[xml] xmlReadDoc and UTF-16LE
- From: Denis <info denisgottardello it>
- To: xml gnome org
- Subject: [xml] xmlReadDoc and UTF-16LE
- Date: Mon, 29 Dec 2014 17:07:54 +0100
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< const xmlChar * >( data.c_str() ),
0, 0, XML_PARSE_PEDANTIC | XML_PARSE_NOBLANKS | XML_PARSE_NONET )
sames to have no effect.
www.denisgottardello.it
GMT+1
Skype: mrdebug
Videosurveillance and home automation!
http://www.denisgottardello.it/DomusBoss
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]