fork download
  1. import java.text.Normalizer;
  2.  
  3. class Ideone
  4. {
  5. public static void main (String[] args) throws java.lang.Exception
  6. {
  7. System.out.println(Normalizer
  8. .normalize("Itaú", Normalizer.Form.NFD)
  9. .replaceAll("[^\\p{ASCII}]", "")
  10. );
  11. }
  12. }
Success #stdin #stdout 0.07s 4386816KB
stdin
Standard input is empty
stdout
Itau