I wrote:
As far as I can tell, CCSID 1140 on the AS/400 is the equivalent of CCSID 37 with the Euro, and would map to ISO-8859-15 (CCSID 923) on the client. However, tn5250 doesn't support CCSID 1140.

I checked again after a good night's sleep, and while IBM changed just one character from CCSID 37 to CCSID 1140 (currency sign ¤ to the Euro), the ISO changed seven more from ISO-8859-1 to ISO-8859-15, including the broken bar ¦ to S with caron. This means you can't easily use tn5250 with an AS/400 with the Euro character at all, because there's no character set on a Linux client that contains all the necessary characters.

To do this properly on Linux you need to use Unicode, either from a Unicode-aware X11 client, or in a UTF-8 capable console or terminal emulator.

I don't suppose the app you're using can be changed to use the solid vertical bar (|, x'4F') rather than broken vertical bar (¦, x'6A')? The remaining replaced characters don't look likely to be commonly used.

"A story, I decided, is anything that keeps     http://carey.geek.nz/
the people reading turning the pages, and
doesn't leave them feeling cheated at the
end.  Everything else was up for grabs." -- Neil Gaiman

This thread ...


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

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