$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] An invalid XML character (Unicode: 0x8) problem because of property_tree::xml_parser::write_xml
From: Rohan Shetty (shetty_rohan_at_[hidden])
Date: 2015-03-03 22:08:09
On 03/03/2015 5:48 PM, Bjorn Reese wrote:> Please read the documentation:>Â > Â "RapidXML does not fully support the XML standard; it is not capable> Â of parsing DTDs and therefore cannot do full entity substitution.>Â > Â [...]>Â > Â Please note that RapidXML does not understand the encoding> Â specification. If you pass it a character buffer, it assumes the data> Â is already correctly encoded; if you pass it a filename, it will read> Â the file using the character conversion of the locale you give it (or> Â the global locale if you give it none). This means that, in order to> Â parse a UTF-8-encoded XML file into a wptree, you have to supply an> Â alternate locale, either directly or by replacing the global one.">Â > http://www.boost.org/doc/html/boost_propertytree/parsers.html
Thanks Bjorn.