Here you can find the source of equalsStringIgnoringAccents(String str1, String str2)
public static boolean equalsStringIgnoringAccents(String str1, String str2)
//package com.java2s; //License from project: Open Source License import java.text.Collator; public class Main { public static boolean equalsStringIgnoringAccents(String str1, String str2) {/*from w w w . j a v a2 s.c o m*/ final Collator instance = Collator.getInstance(); // Ignore Accents instance.setStrength(Collator.NO_DECOMPOSITION); if (instance.compare(str1, str2) == 0) { return true; } else { return false; } } }