Baudot Code
The Baudot code or International Teleprinter Code was invented by Emile Baudot in 1870. It is binary code which uses crosses and dots. It was used for teleprinter messages instead of the morse code and allowed to encode 2^5=32 characters efficiently. Each character was preceeded and followed by a bit to announce its start and end.
The following table gives an overview of the Baudot encoding, the left-most bit is the first bit. A one represents a cross and a zero a dot. For convenience we will use the ones and zeroes for calculations and refer to the crosses and dots where necessary.
Binary | Decimal | Hex | Octal | Letter | Figure |
00000 | 0 | 0 | 0 | Blank | Blank |
00001 | 1 | 1 | 1 | T | 5 |
00010 | 2 | 2 | 2 | CR | CR |
00011 | 3 | 3 | 3 | O | 9 |
00100 | 4 | 4 | 4 | Space | Space |
00101 | 5 | 5 | 5 | H | |
00110 | 6 | 6 | 6 | N | , |
00111 | 7 | 7 | 7 | M | . |
01000 | 8 | 8 | 10 | Line Feed | Line Feed |
01001 | 9 | 9 | 11 | L | ) |
01010 | 10 | A | 12 | R | 4 |
01011 | 11 | B | 13 | G | & |
01100 | 12 | C | 14 | I | 8 |
01101 | 13 | D | 15 | P | 0 |
01110 | 14 | E | 16 | C | : |
01111 | 15 | F | 17 | V | ; |
10000 | 16 | 10 | 20 | E | 3 |
10001 | 17 | 11 | 21 | Z | " |
10010 | 18 | 12 | 22 | D | $ |
10011 | 19 | 13 | 23 | B | ? |
10100 | 20 | 14 | 24 | S | BEL |
10101 | 21 | 15 | 25 | Y | 6 |
10110 | 22 | 16 | 26 | F | ! |
10111 | 23 | 17 | 27 | X | / |
11000 | 24 | 18 | 30 | A | - |
11001 | 25 | 19 | 31 | W | 2 |
11010 | 26 | 1A | 32 | J | ' |
11011 | 27 | 1B | 33 | Figure Shift | |
11100 | 28 | 1C | 34 | U | 7 |
11101 | 29 | 1D | 35 | Q | 1 |
11110 | 30 | 1E | 36 | K | ( |
11111 | 31 | 1F | 37 | Letter Shift |