Here you can find the source of removeAccents(String string)
public static String removeAccents(String string)
//package com.java2s; import java.text.Normalizer; public class Main { public static String removeAccents(String string) { return string == null ? null : Normalizer.normalize(string, Normalizer.Form.NFD).replaceAll( "\\p{InCombiningDiacriticalMarks}+", ""); }// w ww.ja va 2 s . co m }