need EBCDIC to ASCII function

Henry Spencer henry at utzoo.uucp
Thu Oct 5 06:37:29 AEST 1989


In article <1060 at einstein.misemi> lalonde at .UUCP (Terry Lalonde - iccad) writes:
>I need a C function that converts a given EBCDIC character
>to it's ASCII equiv...

You will have to be more specific.  Which flavor of EBCDIC?  EBCDIC is
not a single well-defined character code, but a family of somewhat-similar
codes.  (Which is why the Unix `dd' command has two different conversions,
plus an entry in the BUGS section discussing this problem.)
-- 
Nature is blind; Man is merely |     Henry Spencer at U of Toronto Zoology
shortsighted (and improving).  | uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.lang.c mailing list