You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/10 16:35:11 UTC

[jira] [Commented] (THRIFT-2779) PHP TJSONProtocol encode unicode into UCS-4LE which can't be parsed by other language bindings

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

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

Github user asfgit closed the pull request at:

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


> PHP TJSONProtocol encode unicode into UCS-4LE which can't be parsed by other language bindings
> ----------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-2779
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2779
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: PHP - Library
>            Reporter: He Liangliang
>            Assignee: Aki Sukegawa
>            Priority: Critical
>
> TJSONProtocol serialize string using json_encode which convert unicode character into UCS-4LE format, which can't be accepted by other language bindings, e.g. Java library. The simplest way to fix it is change UCS-4LE encoding to UTF8 encoding.



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