[
https://issues.apache.org/jira/browse/THRIFT-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688368#action_12688368
]
Alexander Shigin edited comment on THRIFT-395 at 3/23/09 11:30 AM:
-------------------------------------------------------------------
You misunderstand me.
Here is a trivial snippet of my current code:
{code}
result = service.query(request.encode('utf-8'))
{code}
It can't work with the patch. "*-remote" helper can't work with the patch. The
patch breaks compatibility.
was (Author: shigin):
You misunderstand me.
Here is a trivial snippet of my current code:
{code}
result = service.query(request.encode('utf-8'))
{code}
It can't work with the patch. "*-remote" helper can't work with the patch. The
patch really breaks compatibility.
> Python library + compiler does not support unicode strings
> ----------------------------------------------------------
>
> Key: THRIFT-395
> URL: https://issues.apache.org/jira/browse/THRIFT-395
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (Python), Library (Python)
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Blocker
> Attachments: python-utf8.patch
>
>
> Effectively, all strings in the python bindings are treated as binary strings
> -- no encoding/decoding to UTF-8 is done. So if a unicode object is passed
> to a (regular, non-binary) string, an exception is raised.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.