package ee.common;

public class Umlauts {
    private static String[][] UMLAUT_REPLACEMENTS =
            {{new String("Ä"), "Ae"}, {new String("Ü"), "Ue"},
                    {new String("Ö"), "Oe"}, {new String("ä"), "ae"},
                    {new String("ü"), "ue"}, {new String("ö"), "oe"}, {new String("ß"), "ss"}};

    public static String replaceUmlauts(String orig) {
        String ret = orig;

        for (int i = 0; i < UMLAUT_REPLACEMENTS.length; i++) {
            ret = ret.replace(UMLAUT_REPLACEMENTS[i][0], UMLAUT_REPLACEMENTS[i][1]);
        }

        return ret;
    }
}

@@ -314,16 +314,292 @@
 ), %22ss%22%7D
+,%0A                    %7Bnew String(%22%C3%83%C2%A4%22), %22ae%22%7D, %7Bnew String(%22%C3%83%E2%80%9E%22), %22Ae%22%7D,%0A                    %7Bnew String(%22%C3%83%C2%B6%22), %22oe%22%7D, %7Bnew String(%22%C3%83%E2%80%93%22), %22Oe%22%7D,%0A                    %7Bnew String(%22%C3%83%C2%BC%22), %22ue%22%7D, %7Bnew String(%22%C3%83%C5%93%22), %22Ue%22%7D,%0A                    %7Bnew String(%22%C3%83%C5%B8%22), %22ss%22%7D%0A%0A            
 %7D;%0A%0A    

Extend support for Umlauts