Re: [Boost-bugs] [Boost C++ Libraries] #8883: property_tree JSON reader does not parse unicode characters properly

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8883: property_tree JSON reader does not parse unicode characters properly
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-29 15:02:44


#8883: property_tree JSON reader does not parse unicode characters properly
----------------------------------+----------------------------------------
  Reporter: Ronny Krueger | Owner: cornedbee
  <rk@…> | Status: new
      Type: Bugs | Component: property_tree
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.54.0 | Keywords: property_tree JSON unicode
Resolution: |
----------------------------------+----------------------------------------

Comment (by ecotax@…):

 I also encountered problems with parsing Unicode characters. Specifically,
 when using the normal (non-wide-string) version of property_tree, parsing
 JSON containing explicitly encoded Unicode characters, using \uXXXX,
 characters above 0x7F, for example \u2026 (horizontal ellipsis) are not
 converted to UTF-8 (giving E2 80 A6).
 I just added a patch that will do so. I'm not sure if this is a good thing
 in general, and if so, whether the patch as is is production-ready, but
 maybe it's helpful in some way.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8883#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:14 UTC