Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1678: Boost.property_tree::read_xml does not parse UNICODE file with BOMs
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-18 20:04:07
#1678: Boost.property_tree::read_xml does not parse UNICODE file with BOMs
--------------------------------------+-------------------------------------
Reporter: tom | Owner: cornedbee
Type: Patches | Status: assigned
Milestone: Boost 1.47.0 | Component: property_tree
Version: Boost Development Trunk | Severity: Showstopper
Resolution: | Keywords: property_tree UNICODE BOM read_xml
--------------------------------------+-------------------------------------
Comment (by cornedbee):
True. The code is just to skip a BOM and continue as if it wasn't there.
The data still has to be in the expected format.
This is the right thing to do. The XML parser should not concern itself
with encodings. It's the responsibility of the code convert facet of the
input stream to bring the data into the right format. The code here is
just to skip the BOM.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/1678#comment:6> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC