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

Hudson commented on THRIFT-2779:
--------------------------------

SUCCESS: Integrated in Thrift #1719 (See 
[https://builds.apache.org/job/Thrift/1719/])
THRIFT-2779: Always write unescaped JSON unicode string. Client: PHP (nsuke: 
rev 90ea4f64c124404f346c66de47f84fc9ced63132)
* lib/php/test/Test/Thrift/Protocol/TestTJSONProtocol.php
* lib/php/test/Test/Thrift/Fixtures.php
* lib/php/lib/Thrift/Protocol/TJSONProtocol.php


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

Reply via email to