Fixed handling of non-ASCII-characters (like Umlauts)