← All posts

The Moore School lectures: how character encoding grew from telegraphy

The Moore School lectures: how character encoding grew from telegraphy

Everything you type is a number. The A in your name, the emoji in your chat, the markup on this page — every character is a number someone agreed on before you were born. Here's the twist: those agreements didn't start with computers. They started with telegraphs, with a wire, with machines that couldn't spell their own names. Between those worlds sits one summer in 1946 — the Moore School lectures — where a roomful of strangers decided how the future would spell things. This post is the character encoding history nobody ever filmed, and you'll like where it ends.

The Moore School lectures: the room that briefed the future

February 1946, Philadelphia. The University of Pennsylvania wheels out ENIAC — eighteen thousand vacuum tubes, thirty tons of electronics, and, as far as I remember, more raw computing power than anything ever called a computer. The papers called it a giant brain. Right after the hoopla, the Moore School of Electrical Engineering did something almost nobody remembers: held a course.

Eight weeks, July 8 to August 31, 1946. Officially the course was "Theory and Techniques for Design of Electronic Digital Computers," but history knows it as the Moore School lectures — the first time the stored-program idea was taught as a syllabus instead of a rumor. Thirty-six lectures, Army-funded, for a hand-picked audience of twenty-eight or so. In those chairs: Maurice Wilkes from Cambridge, who went home and built EDSAC. Jay Forrester from MIT, who went home and built Whirlwind. Plus people from Bell Labs, RCA, IBM. And John von Neumann — yes, that von Neumann — on the stored program.

Stored program — let me slow down, because it's the whole ballgame. Up until then, a computer was a calculator with choreography — a human wired it up or fed it program cards. The stored-program idea: what if the instructions lived in memory next to the data — and the machine could read them as numbers, even rewrite them? Think of it as a piano roll versus a musician: a song punched in paper forever, or someone who reads the sheet and decides what to play next. Every computer you've used is the musician.

And here's why this matters: a stored-program machine can chew on text — treat letters as data, sort them, send them. Make a computer general-purpose and you've made a text machine — which inherits a century-old question: how do you encode a character? A good chunk of the course, as far as I remember, was input and output — how do you get a problem in and the answer out? The honest answer in 1946: telegraph machinery. The Moore School lectures never set out to design an alphabet — they just made the computer a machine that would need one. The only alphabet waiting was the telegraph's.

What were the Moore School lectures like to sit through? Dense, technical, occasionally brutal, judging by the notes. But the room understood the stakes: the stored program meant a machine could manipulate the alphabet itself — and that, quietly, is where character encoding history starts pointing at computers. Wilkes is my favorite character in this whole Moore School lectures story, by the way. He took notes like his life depended on it — in his memoirs he describes the voyage home, writing up everything he could remember. Mimeographed and passed around, those notes became the founding documents of British computing. EDSAC ran its first program in 1949. Eight weeks in a room, and the future walked out holding a notepad.

Before computers, there was the wire: telegraph encoding history

What do the Moore School lectures have to do with a telegraph key? The wire got there first — by about eighty years. Long before ENIAC, the telegraph was turning words into electrical pulses and shipping them down a wire — wrestling with the exact problem computers would inherit: how do you write letters as numbers?

The first answer was Morse code — brilliant for a human, useless for a machine. Think about it: dots and dashes, pauses of different lengths between letters. A human hears the rhythm and parses it on the fly — but a machine? How do you tell it "that gap is a letter break, that gap is a word break"? Variable-length codes with timing built in are poetry for the ear and a nightmare for mechanics. Morse is why you can still tap SOS in an emergency, and why nobody automated it. It's the opening move of character encoding history, and the variable-versus-fixed-length fight is still going.

Enter Émile Baudot, a French telegraph engineer, in the 1870s. Baudot's idea was beautifully boring: fixed length. Every character gets exactly five units — five bits, we'd say today. Fixed-length codes are what machines can chew: no rhythm to parse, just count to five and read. Baudot also built a multiplexer that let several operators share one wire — and it's his name behind the unit "baud," so "baud rate" on a modem is a French telegraph engineer from the 1870s, still hanging around.

But here's where it gets weird: a few decades later, Donald Murray rearranged Baudot's code — in 1901, as far as I remember — for keyboard entry. That rearranged code is what teleprinters actually ran on, though we still call the whole family "Baudot" — history is sloppy like that. The five-bit family became the standard for teletypes that clattered through offices for fifty years — and teletype, by the way, is where the word "tty" comes from. Your terminal is named after a telegraph machine. You are reading this on a descendant of a wire and a bell.

Five bits gives thirty-two slots. Do the math: twenty-six letters already eat most of the menu, plus digits and punctuation. So the code did what keyboards do — it borrowed a shift key. Two special characters, LTRS and FIGS ("letters" and "figures"), flipped the whole code into a second layer. Like caps lock, but for the entire alphabet: type LTRS and you're in letters, FIGS and you're in numbers. Think of five bits as a tiny suitcase that packs two different ways depending on which latch you throw.

| Code | Meaning | What it does |

|---|---|---|

| LTRS | shift | letters follow |

| FIGS | shift | digits follow |

| 00000 | blank | spare slot — the future is waiting |

That spare slot is a prophecy — hold onto it, because the wire is about to meet the machine.

The alphabet problem hits the machine

Now the 1940s. The computer is born — and here's the awkward part: no alphabet of its own. ENIAC, the giant brain, couldn't even print a letter. Its registers held ten decimal digits and nothing else — a calculator with an attitude. So the first computers borrowed their input and output from the telegraph and the card punch. Five-level paper tape, punched with the same five holes as the teleprinters. Punched cards, a code hiding in the cardboard: an IBM card had twelve rows, and a letter was a "zone" hole in one of the top rows plus a digit below — three zones, twenty-six letters, two punches per column. It was an encoding that happened to live in cardboard.

And this is where the five-bit inheritance starts to pinch. Thirty-two slots were fine for a telegraph; they're a straitjacket for a machine that wants letters, numbers, and symbols without flipping a shift latch every other character. So the 1950s did what engineers do: they added a bit. Six bits. Sixty-four slots. The Army's Fieldata project, as far as I remember, ran a six-bit code designed for transmission — practically a telegraph code with a college education. IBM had its own, BCDIC. The industry was trying on sixty-four-character alphabets and finding them... almost enough. Not quite.

Every machine out of that room — EDSAC, Whirlwind, the rest — read tape or cards and spoke in codes that traced straight back to the wire. The Moore School lectures' audience built the first generation of text machines, and the last generation of telegraph machines, without realizing they were the same thing. Here's the pattern, and it's the whole next two decades in one sentence: every time the alphabet needed to say more, the answer was another bit. Five for the telegraph, six for the field computers, seven for the industry. Each step doubles the menu. The character encoding history of the twentieth century is just this: the world kept trying to fit everything into fewer bits, and kept losing by one.

Seven bits, and the code that finally fit: character encoding history hits ASCII

So 1963: the American Standards Association publishes X3.4-1963, ASCII. Seven bits. One hundred twenty-eight slots. And the man most responsible was an IBM programmer named Bob Bemer — the father of ASCII, if that title means anything: a guy who fought for years to standardize a boring table of characters.

Seven bits was the magic number, and it wasn't luck. Five couldn't hold an alphabet plus digits plus punctuation. Six was almost enough and maddeningly not. Seven gave you ninety-five printable characters — upper and lower case, digits, punctuation, the thirty-two symbols including your @ and # — plus thirty-three control characters, the typewriter-and-telegraph ghosts: carriage return, line feed, bell, and Bemer's ESC, letting text break out into commands. ASCII even ordered itself cleverly: the letters sit in binary order, so a machine sorting alphabetically can just sort numerically. Sorting for free. Try getting a committee to agree on anything that elegant today.

And the road from baudot to ascii isn't a straight line, but you can walk it: five-bit telegraph code, six-bit field codes, seven-bit ASCII — with the old telegraph shift characters surviving as ghosts in the control slots. Next time someone calls ASCII "just" an alphabet, remind them it's a telegram, filed a century late. None of the Moore School lectures mentioned ASCII, of course — it didn't exist yet. But the generation that sat through the Moore School lectures went home and built the machines that made ASCII necessary, and their keyboards were teletypes. In the long character encoding history, ASCII is the chapter that stuck.

ASCII got revised in 1968 — X3.4-1968 — and a year later a grad student named Vint Cerf wrote RFC 20, adopting it for the network that would become the internet. I did a whole post about that memo; short version: the internet adopted ASCII as its common room, and every protocol since — email, HTTP, JSON — still speaks in that 1969 accent. If you want to see what ninety-five characters can still do when you stop being careful, the text pixel art guide is the best tour I know — the whole art form runs on the same 95 slots.

The code you're typing right now

Here's the part that keeps me up at night. When you type, your keyboard doesn't send letters — it sends numbers. The Unicode code point for A is 65, exactly what ASCII said in 1963 — Unicode built its first 128 slots as a photocopy of ASCII, and UTF-8 keeps them identical. The character encoding history doesn't stop at ASCII — Unicode came, emoji came — yet the telegraph's alphabet, five bits in the 1870s, seven in 1963, is still the floor under everything. Emoji are an addition to a house whose foundation is a wire.

That's why the Moore School lectures matter to me more than the history books admit. They didn't just brief a roomful of strangers and send them home to build EDSAC and Whirlwind. They made the computer a text machine — and the text machine, being practical, reached back into the telegraph's toolbox for its alphabet. The Moore School lectures didn't invent the alphabet; they invented the machine that needed one. The baudot to ascii arc, the whole telegraph encoding history from a five-hole tape to a UTF-8 file, is the longest-running design thread in computing, and it got pulled through Philadelphia in that summer of 1946. The Moore School lectures are character encoding history's hinge point — the moment the future chose to spell things in numbers.

So next time you hit a key, picture the number your keystroke just became, then follow it back — past the committees and the field codes, past the Moore School lectures and the summer of 1946, to a French engineer's five-bit suitcase, to a wire. All of it starts with people deciding a character is a number that can ride a wire. I still find that a little thrilling.

Which leaves me with one question: what does the alphabet after Unicode look like? Emoji already broke the old rules — they're pictures, they're compound, not characters in the 1963 sense at all. When we run out of room again, and we will, what's the next bit? I don't know. But I know where I'd start drawing it — the studio — and pricing is where I remind you this channel needs to eat.

The Moore School lectures: how character encoding grew from telegraphy — ascii.im Blog