ASCII
ASCII is a character encoding standard that assigns numerical codes to letters, numbers, symbols, and control characters. It enabled consistent text communication in early computing and remains the basis of modern text encoding.
ASCII is a character encoding standard that assigns numerical codes to letters, numbers, symbols, and control characters. It enabled consistent text communication in early computing and remains the basis of modern text encoding.
ASCII (short for American Standard Code for Information Interchange) is a character encoding standard that represents text in computers and other digital devices. It assigns numerical values to letters, digits, punctuation marks, and control characters, allowing text to be stored, processed, and transmitted consistently across different systems.
Developed in the early 1960s, ASCII quickly became the foundation of digital communication. It originally defined 128 characters, including:
Each ASCII character is represented by a 7-bit binary number, ranging from 0 to 127. For example:
A → 65 (binary 01000001)a → 97 (binary 01100001)0 → 48 (binary 00110000)When a user types text, the computer stores and transmits the corresponding ASCII codes.
A simple string like "Hi" is stored using ASCII as:
H → 72 → 01001000
i → 105 → 01101001
Together, "Hi" is represented in memory as the sequence of numbers [72, 105].
ASCII was a major breakthrough because it created a universal standard for text representation. Before its adoption, different computer manufacturers used incompatible encoding systems. ASCII enabled:
While ASCII is powerful, it only supports 128 characters, which is sufficient for English but not for many other languages. This limitation led to extended versions like ISO-8859-1 (Latin-1) and eventually Unicode, which can represent characters from virtually all writing systems worldwide.
ASCII laid the groundwork for digital communication by standardizing how computers represent text. Although modern systems often use Unicode, ASCII remains deeply embedded in technology as the foundation of character encoding.