[ 
https://issues.apache.org/jira/browse/THRIFT-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951935#comment-14951935
 ] 

ASF GitHub Bot commented on THRIFT-2411:
----------------------------------------

GitHub user phongphan opened a pull request:

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

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

    Hi
    This patch allow consuming JSON encoded by older version of PHP (< 5.4) 
which the `json_encode` function doesn't support `JSON_UNESCAPED_UNICODE` flag.
    
    It also supports encoded surrogate pair which allow support character that 
is not in the Basic Multilingual Plane.

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

    $ git pull https://github.com/phongphan/thrift THRIFT-2411

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

    https://github.com/apache/thrift/pull/648.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 #648
    
----
commit 4a2b0acc1a42d2ec9c4b330305f872fe66730731
Author: Phongphan Phuttha <phongp...@acm.org>
Date:   2015-10-10T16:46:40Z

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

----


> C++: UTF-8 sent by PHP as JSON is not understood by TJsonProtocol
> -----------------------------------------------------------------
>
>                 Key: THRIFT-2411
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2411
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: C++ - Library
>            Reporter: Jens Geyer
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to