Character Encoding
Common examples of character encoding systems include Morse code, the Baudot code, the American Standard Code for Information Interchange (ASCII) and Unicode. Character encoding is extremely complicated and if you wish to learn more there is a link below.
http://en.wikipedia.org/wiki/Character_encoding
http://en.wikipedia.org/wiki/Character_encoding