Converting ascii to ebcdic, and vice versa
I am looking for a library function to convert ascii to ebcdic, and/or
ebcdic to ascii. For example, '0' = 0x30 in ascii, 0xf0 in ebcdic.
I see the character maps in /usr/share/i18n/charmap, but have not found
any routines. Aix has a function called iconv.
I could build my own conversion tables, but that is a last resort.
Any ideas?
TIA
--
Walter L. Preuninger II waldo @ irc.wasteland.org:#unix
walterp@rapidramp.com http://walterp.rapidramp.com
L I N U X Where You Will Want To Be!
Reply to: