Reputation: 23
My string contains special characters (eg: �tøkiligar) and when decoding it using XMLDecoder it throws ArrayIndexOutOfBoundsException. Is there anyway to change the decoding format to another format(ISO-8859-1) than UTF-8?
java.lang.ArrayIndexOutOfBoundsException: 0
at java.beans.XMLDecoder.readObject(Unknown Source)
Upvotes: 0
Views: 308