Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 47387 invoked from network); 19 Jul 2009 21:12:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jul 2009 21:12:34 -0000 Received: (qmail 32812 invoked by uid 500); 19 Jul 2009 21:13:39 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 32709 invoked by uid 500); 19 Jul 2009 21:13:38 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 32699 invoked by uid 99); 19 Jul 2009 21:13:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jul 2009 21:13:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jul 2009 21:13:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DD4D029A0014 for ; Sun, 19 Jul 2009 14:13:14 -0700 (PDT) Message-ID: <292933179.1248037994905.JavaMail.jira@brutus> Date: Sun, 19 Jul 2009 14:13:14 -0700 (PDT) From: "Stephen Colebourne (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (LANG-285) Wish : method unaccent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LANG-285?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D127330= 65#action_12733065 ]=20 Stephen Colebourne commented on LANG-285: ----------------------------------------- I'd avoid a hard 1.6 dependency right now, as we're only just moving up fro= m a 1.4 dependency. If the 1.6 dependency is optional (via reflection?) the= n that would be fine. > Wish : method unaccent > ---------------------- > > Key: LANG-285 > URL: https://issues.apache.org/jira/browse/LANG-285 > Project: Commons Lang > Issue Type: New Feature > Reporter: Guillaume Cot=C3=A9 > Priority: Minor > Fix For: 3.0 > > Attachments: LANG-285-unaccent-using-Collator.patch, MapBuilder.j= ava, unaccent.patch, UnnacentMap.java > > > I would like to add a method that replace accented caracter by unaccented= one. For example, with the input String "L'=C3=A9t=C3=A9 o=C3=B9 j'ai d= =C3=BB aller =C3=A0 l'=C3=AEle d'Anticosti commenca t=C3=B4t", the method w= ould return "L'ete ou j'ai du aller =C3=A0 l'ile d'Anticosti commenca tot". > I suggest to call that method unaccent and to add it in StringUtils. > If we cannot covert all case, the first version could only covert iso-885= 9-1. > If you are willing to go forward with that idea, I am willing to contribu= te a patch. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.