Details
Description
The ShortcutPanel fails to load if shortcutSpec.xml is UTF-8 encoded and contains non-ascii characters that are correctly encoded in the XML file.
Error message: FEHLER: 'Invalid byte 1 of 1-byte UTF-8 sequence.'
The problem is caused by com.izforge.izpack.adaptator.impl.XMLParser:
public IXMLElement parse( String inputString )
getBytes() uses the current codepage, but the XML is UTF-8 by default.
I suggest this implementation:
public IXMLElement parse( String inputString )
Hi!
Is it any workaround for this problem?
My project in Russian language, and izpack installer fails to load if shortcutSpec.xml in UTF-8 encoding, but I need for Russian words in it.