|
I think my problem is not too bad. They either need Euro and UK 122 keyboard or not. So they get -15 and codepage 237 or -1 and codepage 37.
If they are UK, no broken bar.
It is a problem. If it ever arises as a problem for me, I'll just rebuild and transmap broken bar to vert bar.
Thanks for your time.
BTW a command line arg for tn5250, sort of like unix tr, a temporary transmap patch, would be handy. A liitle messy perhaps.
tn5250 map "ibm037:8859-1:106:166"
Carey Evans wrote:
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.
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.