logo       

[jira] Updated: (LANG-285) Wish : method unaccent: msg#00351

issues-commons-apache

Subject: [jira] Updated: (LANG-285) Wish : method unaccent


[
https://issues.apache.org/jira/browse/LANG-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Henri Yandell updated LANG-285:
-------------------------------

Attachment: LANG-285.patch

With Sun's implementation hitting end of life in October - I don't think it
would be bad to be being proactively forward looking.

Attaching a patch for this.

> 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Ã
> Priority: Minor
> Fix For: 3.0
>
> Attachments: LANG-285-unaccent-using-Collator.patch, LANG-285.patch,
> MapBuilder.java, 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'Ãtà oà j'ai dà aller à l'Ãle
> d'Anticosti commenca tÃt", the method would return "L'ete ou j'ai du aller Ã
> 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-8859-1.
> If you are willing to go forward with that idea, I am willing to contribute a
> patch.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise