You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "He Liangliang (JIRA)" <ji...@apache.org> on 2014/10/09 09:28:34 UTC

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

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

He Liangliang commented on THRIFT-2779:
---------------------------------------

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

> PHP TJSONProtocol encode unicode into UCS-4LE which can't be parsed by other langurage bindings
> -----------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-2779
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2779
>             Project: Thrift
>          Issue Type: Improvement
>          Components: PHP - Library
>            Reporter: He Liangliang
>            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)