Character encoding is a key to unlock (i.e. crack) the code. It is a set of mappings between the bytes in the computer and the characters in the character set. Without the key, the data looks like garbage. So, when we input text using a keyboard or in some other way, the character encoding maps characters we choose to specific bytes in computer memory, and then to display the text it reads the bytes back into characters.