You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2014/12/13 23:46:13 UTC
[jira] [Reopened] (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:all-tabpanel ]
Jens Geyer reopened THRIFT-2779:
--------------------------------
> 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: Jens Geyer
> Priority: Critical
> Fix For: 0.9.3
>
>
> 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)