Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37FAE9547 for ; Sat, 14 Apr 2012 03:31:55 +0000 (UTC) Received: (qmail 25257 invoked by uid 500); 14 Apr 2012 03:31:54 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 25013 invoked by uid 500); 14 Apr 2012 03:31:53 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 24990 invoked by uid 99); 14 Apr 2012 03:31:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 03:31:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 03:31:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6B90836AB70 for ; Sat, 14 Apr 2012 03:31:29 +0000 (UTC) Date: Sat, 14 Apr 2012 03:31:29 +0000 (UTC) From: "Russell Jurney (Commented) (JIRA)" To: dev@avro.apache.org Message-ID: <613046851.25043.1334374289520.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AVRO-565) Investigate Python encoding error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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. if charset: subject = subject.decode(charset) 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