How to know if a string contains accents?
if (Pattern.matches(".*[éèàù].*", input)) { .... }
add whatever accents you want to that list