In that case, I would look at the stuff going into your InputStream "is".
How is it getting in there? It's possible that RPG uses an EBCDIC JVM and
your J2EE server uses an ASCII JVM. Check the value of

new InputStreamReader(is).getEncoding();

and look at how the data is getting into the InputStream.

HTH,
Gary


-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-
bounces@xxxxxxxxxxxx] On Behalf Of Lim Hock-Chai
Sent: Thursday, November 05, 2009 3:02 PM
To: java400-l@xxxxxxxxxxxx
Subject: Re: Running in EBCDIC or ASCII

osName is OS/400 (running in J2EE or RPG)



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2025 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.