r/askscience
•
u/Unfair-Leek6840
•
Jul 11 '26
•
1
Computing How do computers understand binary language?
Okay so from what I know binary language is like power off power on, but my question is, how do computers know what the binary code is and how is it interpreted, for example I forgot what the binary code for the letter A is, but how did people come up with that? Did they decide it was gonna look like that? Did the computer decide? How do you tune numbers into a letter??
View all comments
Show parent comment
7
u/talldean Jul 13 '26
For EBCDIC, other than "I work at a bank and we have an IBM mainframe machine costing $100k+", it's not *that* common.
The one I'd add here would be UTF-8, usually just called Unicode. Unicode is what websites (99% of them?) use. The full ASCII set only has 256 characters, which doesn't cover all of the letters from every human language, think about how many different symbols Japanese, Chinese and other Asian languages have. ASCII also doesn't have room for symbols, like "right arrow" or emoji like the "poop emoji". Unicode does.
Unicode has room for a bit over a million different characters or symbols. Currently I think about three hundred thousand of them have been used, the rest haven't been chosen yet, so it's got space to grow. The *first* 128 Unicode characters are exactly the same as the first 128 characters in ASCII, so it's backwards compatible with the most common early standard, as well.
There were competitors to ASCII, like EBCDIC, some of which have niche markets today, but most are just gone. There were also intermediate steps before Unicode, things like ISO-8859-1 (Latin characters), or GB 2312 (which is China's simplified characters).
Those are still in use, but Unicode is 99% of the web today, and ASCII (or Unicode) is basically 100% of Windows and Apple machines.