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-09-04 08:11:26


#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 Lettort):

 Hello,

 maybe I am asking about basic unicode knowledge. Even than I would be
 happy to get a link or some explanation to the following question:

 The description says: "...'ä' in UTF-8 will become \u00C3\u00A4 ..."

 Why is 'ä' not becoming /u00E4?
 The "/u"-pair is no surrogate pair, isn't it? So what's the meaning with
 it?

 Why am I asking?
 My problem is, that I am generating a JSON file which will be read via
 JQuery to be shown in a web page. In that case, this pair will be shown as
 two separated unicode symbols.

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