0

我的字符串包含特殊字符(例如:Ã?tøkiligar),当使用 XMLDecoder 对其进行解码时,它会抛出 ArrayIndexOutOfBoundsException。无论如何将解码格式更改为UTF-8以外的另一种格式(ISO-8859-1)?

java.lang.ArrayIndexOutOfBoundsException: 0 at java.beans.XMLDecoder.readObject(Unknown Source)

4

0 回答 0