avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Jurney (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-565) Investigate Python encoding error
Date Sat, 14 Apr 2012 03:31:29 GMT

    [ https://issues.apache.org/jira/browse/AVRO-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13253966#comment-13253966
] 

Russell Jurney commented on AVRO-565:
-------------------------------------

I create unicode objects when I know the codec, otherwise the decode crashes.

<code>if charset:
  subject = subject.decode(charset)</code>

It would be neat if Python worked with ugly strings.
                
> 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
>         Attachments: reproduce_avro_565.py
>
>
> 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

        

Mime
View raw message