[
https://issues.apache.org/jira/browse/AVRO-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239391#comment-13239391
]
Russell Jurney commented on AVRO-565:
-------------------------------------
When I change io.py's BinaryEncoder.write_utf8 to comment out the re-encoding
to UTF-8, my problem goes away:
def write_utf8(self, datum):
datum = datum#.encode("utf-8")
self.write_bytes(datum)
However, with the original code, not encoding to UTF-8 before writing the
string field also fails. So I'm not sure what to do here. Is UTF-8 a
requirement for Avro string fields? How should I fix this?
> 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