It would be useful to have a function in juice.text that removes character
accidents from strings, resulting into a string that contains only chars in
the [a-z] range.
The string should verify, for each char, if it is a char outside the ascii
range, and in case it is, turn that char into a ascii one.
Examples:
"São Paulo" => "Sao Paulo"
"Mañana" => "Manana"
"Àguas-vivas criam problemas para a população." => "Aguas-vivas criam
problemas para a populacao."
When can this be useful? client-side validation and event handling, for
instance.
Original issue reported on code.google.com by lul...@gmail.com on 6 Sep 2007 at 6:12
Original issue reported on code.google.com by
lul...@gmail.com
on 6 Sep 2007 at 6:12