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.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.