Here you can find the source of stripAccents(String v)
public static String stripAccents(String v)
//package com.java2s; //License from project: Open Source License import java.text.Normalizer; public class Main { public static String stripAccents(String v) { if (v != null) { String s = Normalizer.normalize(v, Normalizer.Form.NFD); return s.replaceAll("\\p{M}", ""); } else {//from w ww . j a v a2 s .co m return null; } } }