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 ---- --- 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. ---