[
https://issues.apache.org/jira/browse/THRIFT-3375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14950817#comment-14950817
]
ASF GitHub Bot commented on THRIFT-3375:
----------------------------------------
GitHub user nsuke opened a pull request:
https://github.com/apache/thrift/pull/642
THRIFT-3375 Python TJSONProtocol encodes utf8 string values in an inc…
…ompatible way
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nsuke/thrift THRIFT-3375
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/642.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #642
----
commit 9a6bfbb33887b57d0184a8343fd7732d39e6a165
Author: Nobuaki Sukegawa <[email protected]>
Date: 2015-10-09T17:12:48Z
THRIFT-3375 Python TJSONProtocol encodes utf8 string values in an
incompatible way
----
> Python TJSONProtocol encodes utf8 string values in an incompatible way
> ----------------------------------------------------------------------
>
> Key: THRIFT-3375
> URL: https://issues.apache.org/jira/browse/THRIFT-3375
> Project: Thrift
> Issue Type: Bug
> Components: Python - Library
> Reporter: Nobuaki Sukegawa
>
> It uses *json.dump* method with *ensure_ascii=True* (via default arg) that
> escapes utf8 characters.
> And yet, many implementations including Python does not attempt to unescape
> those characters so cannot talk to each other nor to itself, if the value has
> any utf8 character.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)