[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Converting ascii to ebcdic, and vice versa



There's always dd.

--emk

> From chudon@ee.mcgill.ca Tue Apr  1 12:42:16 1997
> Resent-Date: 1 Apr 1997 20:42:46 -0000
> Resent-Cc: recipient list not shown:;@lists.debian.org
> X-Envelope-Sender: chudon@ee.mcgill.ca
> From: "Christian Hudon" <chudon@ee.mcgill.ca>
> Date: Tue, 1 Apr 1997 15:54:03 -0500
> To: "Walter L. Preuninger II" <walterp@rapidramp.com>
> Cc: debian-user@lists.debian.org, linux-c-programming@vgers.rutgers.edu
> Subject: Re: Converting ascii to ebcdic, and vice versa
> Mime-Version: 1.0
> Resent-Message-ID: <"fpEy5.0.Z76.4DNGp"@debian>
> Resent-From: debian-user@lists.debian.org
> X-Mailing-List: <debian-user@lists.debian.org> archive/latest/1790
> X-Loop: debian-user@lists.debian.org
> Resent-Sender: debian-user-request@lists.debian.org
> 
> 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 called iconv. 
> > 
> > I could build my own conversion tables, but that is a last resort.
> > 
> > Any ideas?
> 
> If you want routines, my guess it that you'll probably have to roll your
> own, or at least modify already existing routines. But if you're looking
> for a program, try recode (there's a Debian package available). It will
> convert from anything to anything.
> 
>   Christian


Reply to: