GitHub user phongphan opened a pull request:

    https://github.com/apache/thrift/pull/647

    THRIFT-2411 C++: UTF-8 sent by PHP as JSON is not understood by 
TJsonProtocol

    Hi
    
    This patch allow consuming JSON encoded by older version of PHP (< 5.4) 
which doesn't support JSON_UNESCAPED_UNICODE flag.
    
    It also supported surrogate pair which allow non-BMP character.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/phongphan/thrift cpp-json-escaped-unicode

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/647.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #647
    
----
commit 2588573868b3196e6b36942aaaf0b3e965de1ca0
Author: Phongphan Phuttha <phongpha...@gmail.com>
Date:   2015-10-10T05:52:49Z

    THRIFT-2411 Support unicode-encoded character including UTF-16 surrogate 
pair which allow extended character that is not in Basic Multilingual Plane

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to