How is it possible to create a String array with some special characters like Ö, ä, Ü and so on.
That is very important for me since UTF 8 encoding. Now this solution with a String Array directly in java code causes a error:
String[] invalidCharacters = { "!", "\"", "§", "%", "&", "/", "\\", "{", "}", "[", "]",
"(", ")", "`", "´", "'", "²", "µ", "#", "+", "~", ",", ";", ":", "_", "<", ">", ".",
"|", "@", "^", "°", "ü", "Ü", "ä", "Ä", "ö", "Ö", "ß", "Ø", "ø", "å", "æ", "Æ" };
I get the error "unmappable character for encoding UTF8"
Is the only way to work with an external file and read the content of this file?
String[] unicodeCharacters = { "\u00ea" , "\u00f1" , "\u00fc" }. Not that this solves any issue, just to let you know.