I have a text file processing software built with Java 6 on linux and
windows machines with DB2 LUW. I am testing it on an iSeries machine
(V6.1) with its instance of DB2.

When processing an (ISO-8859) text file (whose characters are presumably
converted to UTF-8 upon reading it in Java), that processes successfully
under linux and windows, I get a sun.io.MalformedInputException.

It seems this exception happens because an incoming character cannot be
converted to UTF-8. However since the only thing that changes is the
operating system to System i, I am guessing it has something to do with
the System value of the CCSID which is currently set to 65535, or
perhaps some kind of environment variable for the JVM.

Ok, thanks for reading this far.

My question is, in your opinion, might the CCSID value have anything to
do with the problem I am experiencing?


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.