I have ant xmlbean task that works fine under HotSpot 1.8 but fails under IBM J9 with exception IO Error java.nio.charset.UnmappableCharacterException: Input length = 1
How may I fix that?
Here is my ant task:
<target name="gen">
<taskdef name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean" classpathref="cpth" />
<xmlbean destfile="./ttt.jar"
classpathref="cpth">
<fileset dir="C:\projects\whatever" includes="1.xsd 2.xsd conf.xsdconfig"/>
</xmlbean>
</target>
XSD files contains German umlauts (letters like ä, ü). I try to save files in UTF-8 and iso-8859-1, but the result is the same.