Re: Converting ascii to ebcdic, and vice versa

1997-04-02 Thread Jens B. Jorgensen
Ralph Winslow wrote: > > Walter L. Preuninger II wrote: > > > > 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. > > > Check out the dd command. > Be *very* careful with the dd command, it "pads" out rec

Re: Converting ascii to ebcdic, and vice versa

1997-04-02 Thread Johann Spies
On Tue, 1 Apr 1997, Walter L. Preuninger II wrote: > 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. Try recode. Look at the recode-info-pages. Johann Joh

Re: Converting ascii to ebcdic, and vice versa

1997-04-01 Thread Ralph Winslow
Walter L. Preuninger II wrote: > > 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. > Check out the dd command. > I see the character maps in /usr/share/i18n/charmap, but have not found > any routines. Aix

Re: Converting ascii to ebcdic, and vice versa

1997-04-01 Thread Edward McKnight
gt; > Date: Tue, 1 Apr 1997 15:54:03 -0500 > To: "Walter L. Preuninger II" <[EMAIL PROTECTED]> > Cc: debian-user@lists.debian.org, [EMAIL PROTECTED] > Subject: Re: Converting ascii to ebcdic, and vice versa > Mime-Version: 1.0 > Resent-Message-ID: <"fpEy5.0.Z

Re: Converting ascii to ebcdic, and vice versa

1997-04-01 Thread Christian Hudon
On Apr 1, Walter L. Preuninger II wrote > 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 calle

Converting ascii to ebcdic, and vice versa

1997-04-01 Thread Walter L. Preuninger II
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,