I think your question is the same as these:
and hence the answer is also the same:
String convertedString = Normalizer .normalize(input, Normalizer.Form.NFD) .replaceAll("[^\p{ASCII}]", "");
See
Example Code:
final String input = "T??? ?? a f?ň?? ????ń?"; System.out.println( Normalizer .normalize(input, Normalizer.Form.NFD) .replaceAll("[^\p{ASCII}]", "") );
Output:
This is a funky String
1.4m articles
1.4m replys
5 comments
57.0k users