ASCII
ASCII is a 7-bit character-encoding standard that assigns numeric codes to 128 basic Latin characters, symbols, punctuation marks, digits, and control characters.
Natural Language Processing in Action, Second Edition
ASCII is a character-encoding standard that assigns numeric codes to a limited set of Latin letters, digits, punctuation marks, and control characters.
- How it is used
- Normalizes multilingual names before machine-learning classification by removing orthographic embellishments that can create misleading signals.
- How deep it goes
- Defines ASCII and demonstrates normalization, but does not detail the encoding table or character-code implementation.
- Examples
- Uses O’Néàl becoming O'Neal and Çetin becoming Cetin as executable normalization examples.
- What you can do after
- Apply it via nlpia2's Asciifier to normalize names and other Latin-script strings before modeling.
Read how Natural Language Processing in Action, Second Edition explains ASCII →
The Quick Python Book, Fourth Edition
ASCII is a character-encoding standard that assigns numeric codes to a defined set of English letters, digits, punctuation marks, and control characters.
- How it is used
- Explains ASCII as a practical baseline for string escapes and text-file exchange.
- How deep it goes
- Defines 7-bit ASCII, printable range, numeric escapes, and encoding limits; stops short of explaining Unicode internals.
- Examples
- Demonstrates equivalent escapes for m, newline representations, and decoding files containing bytes outside the ASCII range.
- What you can do after
- Diagnose ASCII-versus-UTF-8 decoding problems and write ASCII characters using literal, octal, or hexadecimal forms.
Read how The Quick Python Book, Fourth Edition explains ASCII →
Also covered in
- Tiny Python Projects: Learn coding and testing with puzzles and games
- JavaScript in DepthIn early access (MEAP)
- Regular Expression Puzzles and AI Coding Assistants
- Deep Learning with PyTorch, Second Edition
- How Computers Make Books
- ScyllaDB in Action
- API Design Patterns
What to know first
- PythonPython is a high-level, general-purpose, dynamically typed programming language with readable syntax and support for multiple programming paradigms.
- bitA bit is a binary digit and unit of digital information that represents one of two distinguishable values, conventionally 0 or 1.
- bytesBytes are an ordered sequence of byte values, typically eight-bit units, used to represent binary data.
- stringA string is a programming-language value representing textual data as an ordered sequence of characters or encoded units.
Related concepts
- UTF-8contrasts with · UTF-8 is a variable-width Unicode encoding that represents each Unicode scalar value as one to four bytes and preserves ASCII byte representations.
- Unicodealternative to · Unicode is a standard that assigns code points and properties to characters and defines encoding forms for representing text digitally.
- PNMused by · PNM (Portable AnyMap) is a family of simple portable raster image formats for bitmap, grayscale, and pixmap data in ASCII or binary form.
- stringalternative to · A string is a programming-language value representing textual data as an ordered sequence of characters or encoded units.
Questions about ASCII
What is ASCII?
ASCII is a 7-bit character-encoding standard that assigns numeric codes to 128 basic Latin characters, symbols, punctuation marks, digits, and control characters.
Which Manning books explain ASCII?
Natural Language Processing in Action, Second Edition and The Quick Python Book, Fourth Edition.
What should I know before learning ASCII?
Manning books that teach ASCII usually introduce Python, bit, bytes and string first.
What is the difference between ASCII and UTF-8?
ASCII is a 7-bit character-encoding standard that assigns numeric codes to 128 basic Latin characters, symbols, punctuation marks, digits, and control characters. UTF-8 is a variable-width Unicode encoding that represents each Unicode scalar value as one to four bytes and preserves ASCII byte representations.
What is ASCII a kind of?
ASCII is a kind of single-byte encoding. A character encoding in which each encoded value is represented by one byte.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

