Go to the previous, next section.

Charsets based on IBM

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

IBM's PC code

This charset is available in recode under the name IBM-PC. There are a few discrepancies between this charset and the very similar RFC 1345 charset ibm437, which have not been analyzed yet, so the charsets are being kept separate for now. This might change in the future.

The file was obtained or is aimed towards a PC microcomputer from IBM or any compatible. This is an eight-bit code.

Unisys' ICON code

This charset is available in recode under the name Icon-QNX, with QNX as an acceptable alias.

The file is using Unisys' Icon way to represent diacritics with code 25 escape sequences, under the system QNX. This is a seven-bit code, even if eight-bit codes can flow through as part of IBM-PC charset.

Go to the previous, next section.