First off, you shouldn't. These symbols carry special phonetic properties that cannot be ignored.
The way to convert them is to create a Map containing each pair:
Map<Character, Character> map = new HashMap<Character, Character>(); map.put('á', 'a'); map.put('é', 'e');
and then loop the characters in the line by creating a new line by calling map.get(currentChar)
Bozho Nov 08 '10 at 8:12 2010-11-08 08:12
source share