Sorry, I should have suggested the %char() bif instead...

-Eric

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of DeLong, Eric
Sent: Monday, April 30, 2012 1:36 PM
To: Midrange Systems Technical Discussion
Subject: RE: 5250 And Unicode

Really? For UCS-2 to SBCS? Sucks for whoever has to try to map that table...

If I'm not completely lost with this thread, I wonder why the OP can't use the %UCS2() bif to do this conversion before putting bytes into his display file?

-Eric DeLong

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of James Lampert
Sent: Monday, April 30, 2012 1:25 PM
To: Midrange Systems Technical Discussion
Subject: Re: 5250 And Unicode

Rich Loeber wrote:
I really just have a single character string within the display that needs
to be converted from CCSID 13488 (unicode UCS_2) into our normal 65535
encoding so that it will be readable.

So far, nothing easy is jumping out at me. Still searching the IBM site.

Table look-up is easy. It's just really, really, tedious and
error-prone, when you're initially generating the tables.

--
JHHL

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-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.