NEW
Also known as: American Standard Code for Information Interchange
A 7-bit character encoding standard mapping text characters to numeric codes for electronic communication.
DESCRIPTION
ASCII is a foundational character encoding standard that represents letters, digits, punctuation, and control characters using 7-bit codes. It underpins early Internet protocols and many file formats, ensuring consistent text interchange across systems. While ASCII covers basic English characters, it influenced extended encodings and the development of Unicode. ASCII control characters like CR and LF remain central in network and file conventions. Despite Unicode’s dominance, ASCII compatibility persists in protocols, programming, and data formats.
ALTERNATIVE DEFINITIONS
Wikipedia
ASCII, abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication.
Concise emphasis on ASCII as a communication-oriented character encoding standard.
Encyclopaedia Britannica
ASCII, in full American Standard Code for Information Interchange, a standard data-encoding format for electronic communication.
Highlights ASCII as a standard format, stressing its role in electronic communications.
RELATED TERMS
UTF-8 ISO/IEC 8859 Code Page Character Set Control Character Carriage Return Line Feed Text Encoding
COMPETING TERMS
Unicode EBCDIC
KNOWLEDGE AREAS
Software Engineering Data Integration & Interoperability Data Storage & Operations
TARGET AUDIENCE
Software Developer Data Engineer Data Architect Application Administrator
EXTERNAL SOURCES
- Wikipedia - ASCII
- IETF RFC 20 - Historic RFC on ASCII usage for networks
- IANA - Registry of character sets including US-ASCII
- W3C - W3C guidance on characters and encoding
TOP QUESTIONS
Why is ASCII still relevant today?
ASCII remains relevant because many protocols, file formats, and programming conventions are ASCII-compatible. Even Unicode encodings like UTF-8 preserve ASCII codes, ensuring backward compatibility.
Category: Relevancy
How does ASCII differ from Unicode?
ASCII uses 7 bits to encode 128 characters, primarily English. Unicode supports over a million code points for global scripts, with encodings like UTF-8 that extend ASCII.
Category: Comparison
What are ASCII control characters?
Control characters are non-printable codes like carriage return, line feed, and tab that control text flow and device behavior rather than represent symbols.
Category: Concept
What is a common mistake when handling ASCII data?
Assuming all text is ASCII can cause data loss when encountering non-ASCII characters. Always specify encodings, especially when handling internationalized content.
Category: Mistakes
How does ASCII interact with UTF-8?
UTF-8 is backward compatible with ASCII; the first 128 code points are identical, allowing ASCII text to be valid UTF-8 without modification.
Category: Concept
What is a practical risk when misinterpreting ASCII vs. binary?
Treating binary data as ASCII can corrupt data or cause parsing failures. Always distinguish file formats and specify appropriate decoders.
Category: Risks
What tools help detect ASCII encoding issues?
Hex editors, iconv, chardet libraries, and language runtime encoding APIs can detect and convert encodings and reveal non-ASCII bytes.
Category: Tools
When should I use ASCII instead of Unicode?
Use ASCII when you strictly need basic English symbols and wish to minimize storage or ensure maximal legacy compatibility; otherwise prefer Unicode.
Category: Guidance
What is the origin of ASCII?
ASCII was developed in the 1960s by ANSI as a standard to unify character codes across devices and networks, replacing disparate vendor-specific encodings.
Category: Origin