[
https://issues.apache.org/jira/browse/AVRO-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239401#comment-13239401
]
Russell Jurney commented on AVRO-565:
-------------------------------------
On further reflection...
I have changed my code to have all strings become Unicode objects, which Avro
can write: decode(mystring, mycharset)
Before I was using UTF-8 encoded strings:
mystring.decode(mycharset).encode('utf-8)
As outlined above, this was resulting in double UTF-age. Suggest that the
API/docs should only accept Unicode objects, not strings, since strings do not
work well.
> Investigate Python encoding error
> ---------------------------------
>
> Key: AVRO-565
> URL: https://issues.apache.org/jira/browse/AVRO-565
> Project: Avro
> Issue Type: Bug
> Components: python
> Reporter: Jeff Hammerbacher
>
> Tyler B is seeing the following encoding error:
> http://avro.pastebin.com/b4HSYjCz.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira