Bartc said:
Why would whoever put together EBCDIC encoding, put big holes in it like
that?
It would be more understandable if it was accented versions of some
characters, but apparently it's a couple of punctuation characters.
Whoever created it should have been fired.
Even a child would at least have come up with 1 to 26.
Why are you kids so much smarter than your forebears?
In the beginning there was the Hollerith Punch Card as presented by IBM
since your grandfather was a boy. The Card was 80 columns wide and 12
rows high. Rows are numbered, top to bottom, 12, 11, 0, 1, 2, 3, 4, 5,
6, 7, 8 and 9. A rectangular 'hole' is 'punched' from the Card to record
alpha-numeric information.
For a given column a numeric digit has a single punch in rows 0 through
9. An alphabetic has two punches per column. For example 'A' is a 12 and
a 1 punch. 'B' is 12 and 2 and so on. 12-9 is 'I'. The next character,
'J', is 11-1, and 'R' will be 11-9.
The next character, 'S' is at 0-2 and finally 'Z' at 0-9.
The Punch Card itself was the data medium for the longest time, until
the advent of magnetic tape. The IBM tape system was 7-channel or six
bits plus parity per character. How shall we translate all this Card
data onto MagTape?
Translate the card column into six bits, 5 and 4 the zone and 3..0 the
field. Translate Card rows 12, 11 and 0 to 11, 10 and 01 such that 0 is
000000 and 9 is 001001. 'A' is 110001, 'J' is 100001 and 'S' is 010010.
This coding system was called BCD or Binary Coded Decimal. It was
limited to 63 characters.
With the advent of the System 360 and 8-bit bytes, IBM extended its
6-bit BCD to 8-bit EBCDIC (Extended Binary Coded Decimal Interchange
Code). EBCDIC includes lower case characters and lots of other
characters in its 255-byte set.
ASCII (American Standard Code for Information Interchange) didn't have
the IBM Punch Card baggage and defined a 7-bit code which survives.