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

Jens Geyer commented on THRIFT-2336:
------------------------------------

Not sure what to do with that info. The problem is clear and a lot of people 
complain about it, but for some reason nobody wants to take action and patch 
it, or [fix their own broken 
patches|https://issues.apache.org/jira/browse/THRIFT-2779?focusedCommentId=14245653&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14245653]
 so we can move forward and review/commit the stuff. I can only repeat what I 
said above: Every patch or PR is welcome and will be gladly reviewed. Many 
thanks in advance ... :-)

> UTF-8 sent by PHP as JSON is not understood by TJsonProtocol
> ------------------------------------------------------------
>
>                 Key: THRIFT-2336
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2336
>             Project: Thrift
>          Issue Type: Umbrella
>          Components: PHP - Library
>            Reporter: Alexander Steshenko
>            Assignee: Jens Geyer
>
> This is similar to THRIFT-2285.
> Whenever I have our Thrift-For-Php send non-latin utf-8 characters, e.g. 
> "Русское Название" (Russian), I get this:
> {noformat}
> {"3":{"str":"\u0420\u0443\u0441\u0441\u043a\u043e\u0435 
> \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435"},"6":{"tf":0}}
> {noformat}
> which is a perfectly valid JSON, and I don't mind it being encoded like that. 
> Java fails with 
> {noformat}
> Caused by: ! org.apache.thrift.protocol.TProtocolException: Unexpected 
> character:4
> {noformat}



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

Reply via email to