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 4E1176D04 for ; Mon, 25 Jul 2011 19:56:34 +0000 (UTC) Received: (qmail 20256 invoked by uid 500); 25 Jul 2011 19:56:34 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 19752 invoked by uid 500); 25 Jul 2011 19:56:33 -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 19744 invoked by uid 99); 25 Jul 2011 19:56:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2011 19:56:33 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Mon, 25 Jul 2011 19:56:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A34E484DBA for ; Mon, 25 Jul 2011 19:56:09 +0000 (UTC) Date: Mon, 25 Jul 2011 19:56:09 +0000 (UTC) From: "Doug Cutting (JIRA)" To: dev@avro.apache.org Message-ID: <197693675.5371.1311623769665.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <38158655.2923.1309935256589.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AVRO-851) Unicode issue in JSON encoding from Java MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AVRO-851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting updated AVRO-851: ------------------------------ Fix Version/s: 1.6.0 Assignee: Jeff Mesnil > Unicode issue in JSON encoding from Java > ---------------------------------------- > > Key: AVRO-851 > URL: https://issues.apache.org/jira/browse/AVRO-851 > Project: Avro > Issue Type: Bug > Components: java > Affects Versions: 1.5.1 > Reporter: Jeff Mesnil > Assignee: Jeff Mesnil > Fix For: 1.6.0 > > Attachments: AVRO-851.patch > > > There is an issue in Avro's java code when encoding a GenericData as JSON in GenericData#writeEscapedString(). > In the default clause, it must be the hexadecimal value of the character that must be written and not the string itself, otherwise the built JSON string is not valid. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira