ASCII
An old character encoding covering 128 characters: English letters, digits, punctuation and control codes.
In more detail
ASCII stands for American Standard Code for Information Interchange. It has no accented letters or other scripts, which is why Unicode and UTF-8 replaced it; UTF-8 encodes the ASCII characters exactly as ASCII did.
Examples
Binary Kafka record values look partly readable and partly garbled when printed.Text strings in YARA and the strings tool default to ASCII.Related terms
- binary encoding — Representing data as raw bytes laid out by a fixed plan rather than as readable text.
- string — A sequence of characters, that is, a piece of text.
- UTF-8 — The most widely used character encoding, which can represent every Unicode character and matches ASCII for plain English letters.
- Unicode — The standard that gives every character in every writing system its own number, called a code point.
- character encoding — The rule for turning text characters into bytes and back, such as UTF-8.
- UTF-16 — A Unicode encoding that stores each character as one or two 16-bit code units, used in memory by Java and JavaScript strings and by Windows.
- YARA string — A named pattern in a YARA rule's strings section, written as text or hexadecimal bytes, with modifiers that change how it matches.
Taught in
- Bytes On The Wire: JSON, Avro And Protobuf — Apache Kafka & Event Streaming
- Buffer Encodings: UTF-8, Hex, Base64 & Slicing — Node.js Internals & Backend Services
- Paths And Files The Modern Way — Hands-on Python: Complete Video Course & Book
- YARA Rule Authoring & File Signature Matching — Security Operations & Threat Hunting (SOC)
- Characters As Numbers — PCAP Certified Associate in Python Programming (PCAP-31-03) Exam Prep
- read, readline, errno And bytearray — PCAP Certified Associate in Python Programming (PCAP-31-03) Exam Prep
- Encodings, Locales And Time Zones — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep
References
- RFC 20: ASCII format for network interchange
- MDN: ASCII
- Unicode HOWTO
- RFC 20: ASCII format for network interchange