[ https://issues.apache.org/jira/browse/THRIFT-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951665#comment-14951665 ]
ASF GitHub Bot commented on THRIFT-2411: ---------------------------------------- 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 ---- > 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)