|
Hello,Java converts to 16-bit Unicode internally when reading in characters. The encoding used, depend on the configuration where AS/400 defaults to ISO-Latin-1 (think this being an AIX machine), and all java.io.File operations expect characters to be in ISO-Latin-1.
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.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.