Details
-
Epic
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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:
{"3":{"str":"\u0420\u0443\u0441\u0441\u043a\u043e\u0435 \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435"},"6":{"tf":0}}
which is a perfectly valid JSON, and I don't mind it being encoded like that. Java fails with
Caused by: ! org.apache.thrift.protocol.TProtocolException: Unexpected character:4
Attachments
Issue Links
- is related to
-
THRIFT-2779 PHP TJSONProtocol encode unicode into UCS-4LE which can't be parsed by other language bindings
- Closed