Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 88022 invoked from network); 26 Oct 2006 04:33:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 04:33:20 -0000 Received: (qmail 16070 invoked by uid 500); 24 Oct 2006 20:15:31 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 15997 invoked by uid 500); 24 Oct 2006 20:15:30 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 15986 invoked by uid 99); 24 Oct 2006 20:15:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 13:15:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Oct 2006 13:15:17 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4FF767142C1 for ; Tue, 24 Oct 2006 13:14:18 -0700 (PDT) Message-ID: <15202108.1161720858324.JavaMail.root@brutus> Date: Tue, 24 Oct 2006 13:14:18 -0700 (PDT) From: "Henri Yandell (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Commented: (LANG-285) Wish : method unaccent In-Reply-To: <14878066.1160794774973.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/LANG-285?page=3Dcomments#action_= 12444485 ]=20 =20 Henri Yandell commented on LANG-285: ------------------------------------ Aldrin's by-hand method does seem very painful in terms of maintenance. For= example there is nothing there for Hungarian accented characters yet or a = German eszet.=20 The JDK itself is only going to be of help when it can do this for us - so = not much use. So if we're going to have this method, it seems that we're pr= etty much going to have to build it by hand and user submissions. The featu= re doesn't seem that valuable to suck up that much time and effort - especi= ally if JDK 6.0 will turn up with the solution. I'm -0 on adding this to Lang. Too deep a feature to try and swallow. As a sidenote - I wonder if we could ignore uppercase (use Character.isUppe= rCase, then lowercase it, convert it and re-uppercase it on the other side = if it was uppercase).=20 > Wish : method unaccent > ---------------------- > > Key: LANG-285 > URL: http://issues.apache.org/jira/browse/LANG-285 > Project: Commons Lang > Issue Type: New Feature > Reporter: Guillaume Cot=C3=A9 > Priority: Minor > > 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. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org