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

Hudson commented on THRIFT-2346:
--------------------------------

SUCCESS: Integrated in Thrift #1039 (See 
[https://builds.apache.org/job/Thrift/1039/])
THRIFT-2346 C#: UTF-8 sent by PHP as JSON is not understood by TJsonProtocol 
(jensg: rev 73938622ef9b3a53d45063aee70ad5155202605a)
* lib/csharp/test/JSON/Program.cs
* lib/csharp/test/JSON/Properties/AssemblyInfo.cs
* lib/csharp/src/Protocol/TJSONProtocol.cs
* lib/csharp/test/JSON/app.config
* lib/csharp/test/JSON/JSONTest.csproj


> C#: UTF-8 sent by PHP as JSON is not understood by TJsonProtocol
> ----------------------------------------------------------------
>
>                 Key: THRIFT-2346
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2346
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: C# - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>             Fix For: 0.9.2
>
>         Attachments: thrift-2336-json-hex-csharp.patch
>
>
> C# fails to read hex-encoded JSON with character values > 8 bit.
> Example (taken from THRIFT-2336):
> 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. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to