The encodings we use today have a surprisingly deep and complex history. For more, see:
"The Evolution of Character Codes, 1874-1968"
https://ia800606.us.archive.org/17/items/enf-ascii/ascii.pdf
People tend to overlook that the technologies we use today have a much older history.