|
James
You're right, there's no such thing as unicode data in the 5250 stream --
it's all single-byte-based. The workstation manager translates the unicode
fields on the screen (graphic type, ccsid 1200) into the code page of the
DEVICE you are using. Right before populating the output buffer it
translates from that code page back into unicode.
Brian
I had good luck with said unicode fields on screens, and running a device
with a greek (cyrillic, whatever) code page on it (at least a code page
that
has a character set containing the odd characters you need). This is the
only character set you will "see" when the unicode data hits the display.
Luckily, most of the popular non-English code pages also contain capital
and
lower-case english characters.
Stu
On Mon, Jun 27, 2011 at 12:57, James Lampert <jamesl@xxxxxxxxxxxxxxxxx
wrote:
Brian Johnson wrote:list
Forgive my ignorance, but multi-language is not my forte.
Actually, you probably need to code the fields as Unicode (I believe
that would be type "C" in RPG, but I'm not sure), and you would need a
terminal (or emulator) that handles Greek EBCDIC, in order to see
anything but "substitute" characters in terminal-based applications.
If there's such a thing as a Unicode 5250 data stream, I've never
encountered it, even in documentation.
--
JHHL
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
To post a message email: RPG400-L@xxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
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.