Out of curiosity, how exactly does binary code get converted into letters? I know there are sites that automatically convert binary to words for you but I wanna understand the specific, intermediary steps that binary code goes through before being converted into letters.
Out of curiosity, how exactly does binary code get converted into letters? I know
Share
Assuming that by “binary code” you mean just plain old data (sequences of bits, or bytes), and that by “letters” you mean characters, the answer is in two steps. But first, some background.
Okay now here are the two steps:
The data, if it is textual, must be accompanied somehow by a character encoding, something like UTF-8, Latin-1, US-ASCII, etc. Each character encoding scheme specifies in great detail how byte sequences are interpreted as codepoints (and conversely how codepoints are encoded as byte sequences).
Once the byte sequences are interpreted as codepoints, you have your characters, because each character has a specific codepoint.
A couple notes:
In other words, not every byte sequence means something as text.