Go to the first, previous, next, last section, table of contents.


EBCDIC code

This charset is the IBM's external binary coded decimal for interchange coding. This is an eight bits code. The following three variants were implemented in GNU recode independently of RFC 1345:

EBCDIC
GNU recode us:ebcdic conversion is identical to GNU dd ebcdic conversion, and recode ebcdic:us conversion is identical to GNU dd ascii conversion. This charset also represents the way Control Data Corporation relates EBCDIC to 8-bits ASCII.
EBCDIC-CCC
GNU recode us:ebcdic-ccc or ebcdic-ccc:us conversions represent the way Concurrent Computer Corporation (formerly Perkin Elmer) relates EBCDIC to 8-bits ASCII.
EBCDIC-IBM
GNU recode us:ebcdic-ibm conversion is almost identical to GNU dd ibm conversion. Given the exact dd ibm conversion table, recode once said:
Codes  91 and 213 both recode to 173
Codes  93 and 229 both recode to 189
No character recodes to  74
No character recodes to 106
So I arbitrarily chose to recode 213 by 74 and 229 by 106. This makes the EBCDIC-IBM recoding reversible, but this is not necessarily the best correction. In any case, I believe GNU dd should be corrected, and preferably, GNU dd and GNU recode should agree on the same correction. So, this table may change once again.

RFC 1345 brings in recode 15 other EBCDIC charsets, and 21 other charsets having EBCDIC in at least one of their alias names. You can get a list of all these by executing:

recode -l | grep ebcdic


Go to the first, previous, next, last section, table of contents.