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