EBCDIC <--> ASCII conversion

Jonathan I. Kamens jik at athena.mit.edu
Wed Oct 3 04:52:12 AEST 1990


In article <1756 at dinl.mmc.UUCP>, noren at dinl.uucp (Charles Noren) writes:
|> We are communicating between Sun 3 (with SunOS 4.0.3) and an
|> IBM Mainframe (don't know the model, we're not IBM jocks)
|> via TCP/IP.  Our question, is there any program in Netland
|> that converts back and forth between EBCDIC and ASCII
|> (preferrably in C, but we will take any example)?

  The Unix program "dd" does this.  In particular, the "conv=ascii" option
converts EBCDIC to ASCII, and the "conv=ebcdic" option goes the other way.

  See the man page for more information.

-- 
Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik at Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8495			      Home: 617-782-0710



More information about the Comp.lang.c mailing list