Re: [Boost-bugs] [Boost C++ Libraries] #10022: json_parser_write inconditionally converts CP1252 to escaped unicode

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10022: json_parser_write inconditionally converts CP1252 to escaped unicode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-08 12:40:16


#10022: json_parser_write inconditionally converts CP1252 to escaped unicode
-------------------------------+---------------------------
  Reporter: anonymous | Owner: cornedbee
      Type: Feature Requests | Status: new
 Milestone: To Be Determined | Component: property_tree
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords: UTF-8
-------------------------------+---------------------------

Comment (by anonymous):

 Now comment in the code states:
 "This assumes an ASCII superset. But so does everything in PTree."

 A PTree is, as far as used to serialize / parse JSON, fine with handling
 UTF-8 encoded values.

 And:
 "We escape everything outside ASCII, because this code can't handle high
 unicode characters."

 Strange, the JSON generated is parsed fine using boost and the resulting
 PTree contains correctly encoded values again.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10022#comment:1>
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:16 UTC