|
McCallion, Martin wrote: > I changed my job CCSID > to 500 and sent a data queue entry with some data from outside the > invariant character set. In my Java class I used an AS400Text object to > convert the received data to a Java format. Changing job CCSID to 500 does not change character data by itself. Where the data for data queue entry was coming from ? It was coming from database file, it would be converted to 500 - if database file or field CCSID was not 65535. In which case it will not be converted. It will not be converted also if you have this data say, hardcoded in the program. It seems to be the case from what you say about Java side (I assume that sending side is not Java). If data was not *really* in 500 but in default CCSID, then when you create your AS400Text object with default CCSID, it will be converted to Unicode correctly. But when you create it with CCSID 500, it will be converted from CCSID 500 (which it is not). Hence the problem. Just my 2c worth... Alexei Pytel
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.