use StringUtils
, This is not the well-known apache library . That is solve your issue.
replaceUmlauts
public static java.lang.String replaceUmlauts(java.lang.String string)
Replaces all umlauts in a string.
Umlaut Replacement
ä ae
ö oe
ü ue
ß ss
Parameters:
string - String, where the umlauts has to be replaced
Returns:
String without umlauts