ASCII

ASCII is one specific text encoding scheme.

It was one of the first text encoding schemes that came about.

How many bits?

ASCII can store 128 different characters. That means we need to use 7 bits to store each character, because 2^7 = 128.

ASCII character codes

The ASCII character code for ‘A’ is 65, and the ASCII character code for ‘a’ is 97. If we include numbers, the character ‘0’ has the ASCII character code 48.

From that, you can work out all the other letters, because they are sequential!

The code for ‘B’ is 66, ‘C’ is 67, and so on. The code for ‘b’ is 98, ‘c’ is 99, and again, so on. That’s one of the reasons ASCII is nice to work with!

Benefits of ASCII

Drawbacks of ASCII