EBCDIC

From Wikinfo

Jump to: navigation, search


EBCDIC (Fully, "Extended Binary Coded Decimal Interchange Code") is an 8 bit character encoding used on IBM mainframes and AS/400s. It is descended from punched cards and the corresponding six bit Binary Coded Decimal Code that most of IBM's computer peripherals of the late 1950s and early 1960s used. Outside of such IBM systems, ASCII (and its descendants such as Unicode) are normally used instead; EBCDIC is generally considered an anachronism.

EBCDIC takes up eight bits, which are divided in two pieces. The first four bits are called the zone and represent the category of the character, whereas the last four bits are the called the digit and identify the specific character. There are a number of different versions of EBCDIC, customised for different countries.

Contents

History

EBCDIC was devised in 1963-1964 timeframe by IBM and announced with the release of the IBM System/360 line of mainframe computers at the apex of IBM’s mainframe monopoly. It was designed to be better than ASCII, i.e. different and make it difficult for IBM customers to port their data to non-IBM machines. It was an 8 bit encoding, vs. the 7 bit encoding of ASCII, and there was a nice correspondence between hexadecimal character codes and punch card codes — an important feature at the time. But the Roman alphabet characters were non-contiguous, a great annoyance.

All IBM mainframe peripherals and operating systems used EBCDIC. Their only lip service to ASCII was to provide an ASCII mode for reading magnetic tapes.

Codepage layout

This is CP500, a variant of EBCDIC. Characters 0x00–0x3F and 0xFF are controls, 0x40 is space, 0x41 is no-break space, 0xCA is soft hyphen.

  0123456789ABCDEF
40   âäàáãåçñ[.<(+!
50 &éêëèíîïìß]$*);^
60 -/ÂÄÀÁÃÅÇѦ,%_>?
70 øÉÊËÈÍÎÏÌ`:#@'="
80 Øabcdefghi«»ðýþ±
90 °jklmnopqrªºæ¸Æ¤
A0 µ~stuvwxyz¡¿ÐÝÞ®
B0 ¢£¥·©§¼½¾¬|¯¨´×
C0 {ABCDEFGHI­ôöòóõ
D0 }JKLMNOPQR¹ûüùúÿ
E0 \÷STUVWXYZ²ÔÖÒÓÕ
F0 0123456789³ÛÜÙÚ 

External links


References

In other languages