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 B32B111277 for ; Tue, 10 Jun 2014 04:01:03 +0000 (UTC) Received: (qmail 90239 invoked by uid 500); 10 Jun 2014 04:01:03 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 90146 invoked by uid 500); 10 Jun 2014 04:01:02 -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 90127 invoked by uid 99); 10 Jun 2014 04:01:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jun 2014 04:01:02 +0000 Date: Tue, 10 Jun 2014 04:01:02 +0000 (UTC) From: "Mike Drob (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AVRO-1462) Non-ASCII decimal characters cause warning from Perl API serializer 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-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026100#comment-14026100 ] Mike Drob commented on AVRO-1462: --------------------------------- How is this handled in other languages? This isn't something I've thought about, but my main goal would be to ensure consistency on treating Hindi digits. > Non-ASCII decimal characters cause warning from Perl API serializer > ------------------------------------------------------------------- > > Key: AVRO-1462 > URL: https://issues.apache.org/jira/browse/AVRO-1462 > Project: Avro > Issue Type: Bug > Components: perl > Reporter: John Karp > Assignee: John Karp > Priority: Minor > Fix For: 1.7.7 > > Attachments: AVRO-1462.patch > > > The serializer is using the \d metacharacter in a regex to check for decimal characters. However, \d also matches non-ASCII decimals such as those from Hindi or Arabic, and that causes this warning: > {noformat} > Argument "\x{661}" isn't numeric in abs at /home/johnkarp/git/avro/lang/perl/blib/lib/Avro/BinaryEncoder.pm line 92. > {noformat} > Test case: -- This message was sent by Atlassian JIRA (v6.2#6252)