ASCII
The code that taught computers to write

Namazu-tron, LWChris — Public domain — Wikimedia Commons
In brief
A computer only knows numbers. In 1963, the ASCII code gave a number to every letter, digit and sign: A is 65, B is 66… These numbers are written in binary, with 0s and 1s. ASCII let all machines understand one another.
The story
In the early 1960s, every maker of electric typewriters and computers had its own way of coding letters, and machines could not exchange texts. An American committee, including the computer scientist Robert Bemer, published the American Standard Code for Information Interchange in 1963. Lower-case letters were added in 1967.
ASCII uses 7 binary digits, giving 128 characters: letters without accents, digits, punctuation and “control characters” to drive printers. That is why accented letters were a problem for a long time. Since 1991, the Unicode standard has extended ASCII to more than 150,000 characters: every alphabet in the world… and emojis.
Example
A = 65 = 1000001; a = 97 = 1100001; space = 32 = 0100000
Did you know?
There is nothing secret about this code, but it shows a key idea: to encrypt a text, a computer always starts by turning it into numbers.
Sources: D. Kahn, The Codebreakers, 1967 (rev. ed. 1996); S. Singh, The Code Book, 1999; F. L. Bauer, Decrypted Secrets, 4th ed., 2007; C. P. Bauer, Secret History: The Story of Cryptology, 2nd ed., 2021; texts written for this site.
Braille
Morse code
Ships’ signal flags
Flag semaphore
The Navajo code talkers
The spelling alphabet (Alfa, Bravo…)