ASCII is a whole family of character encodings, it is not just one. Likewise, EBCDIC is a whole family... There is many different EBCDICs, and the caret symbol is NOT the same in all of them.

Use CCSIDs.



On 9/1/2015 10:02 AM, Michael Ryan wrote:
Hi folks -

I'm translating ASCII to EBCDIC from data receiving in a socket call. I'm
getting an ASCII '5E' which is the '^' symbol. I need to translate it to
EBCDIC and have the same character. All the other translation works fine,
but this is translating to the logical not symbol '¬', which is an EBCDIC
x'5F'.

I can't find the '^' symbol in any translation EBCDIC charts. How could I
do this? I plan to do it in RPG with a scan/replace of hex characters.

Thanks!



This thread ...

Replies:

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

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