Unicode
Unicode is a standard that assigns code points and properties to characters and defines encoding forms for representing text digitally.
Modern C, Third Edition
Unicode is a universal character encoding standard that assigns code points and properties to characters and symbols across writing systems.
- How it is used
- Applies Unicode to internationalized C source and portable text processing.
- How deep it goes
- Explains code points, multibyte parsing, UTF literals, and UTF-16 surrogate pairs with C examples.
- Examples
- Uses a French identifier, box-drawing escapes, and a supplementary character encoded as a UTF-16 surrogate pair.
- What you can do after
- Evaluate text portability by distinguishing code points, glyphs, encoded units, and multibyte string lengths.
JavaScript in Depth
A universal character encoding standard that assigns code points to characters from many writing systems.
- How it is used
- Explains string-size surprises, unequal-looking-equal usernames, regular-expression matching, and filename encoding failures.
- How deep it goes
- Works through UTF encodings and a surrogate-pair calculation, then applies normalization and regex behavior without requiring formal specification knowledge.
- Examples
- Uses an encoded word, a calculated surrogate pair, visually identical usernames, emoji regex matches, and UTF-8 byte patterns.
- What you can do after
- Diagnose/debug with it when byte counts, string comparisons, Unicode regex matches, or decoded filenames behave unexpectedly.
Modern C
Unicode is an international character standard that assigns code points and properties to a unified repertoire of characters.
- How it is used
- Introduces Unicode as a character-code framework for extended character sets in C.
- How deep it goes
- Explains character concepts, glyphs, code points, properties, and relationships before considering their use in multibyte strings.
- Examples
- Uses Latin A and Greek Alpha, the character ä, and box-drawing macros to illustrate character concepts and C strings.
- What you can do after
- Evaluate and understand the distinction between a character concept, its glyph, and its representation in a C multibyte string.
Learn Rust in a Month of Lunches
Unicode is a character encoding standard that assigns code points to characters across writing systems and symbols.
- How it is used
- Introduces Unicode to explain Rust characters and their relationship to integers and strings.
- How deep it goes
- Explains code points, character casts, and byte-versus-character counts through examples and compiler feedback.
- Examples
- Uses A, 友, an emoji, and the strings "Hello!" and "안녕!" as character and length examples.
- What you can do after
- Apply it in Rust by casting a u8 to char and comparing string byte lengths with char counts.
Read how Learn Rust in a Month of Lunches explains Unicode →
Python Workout: 50 ten-minute exercises
A character-representation standard that assigns abstract code points to characters across writing systems and symbols.
- How it is used
- Uses Unicode to represent multilingual Python text and distinguish text-file handling from binary-file handling.
- How deep it goes
- Explains code points, variable-length UTF-8 encoding, Python strings, and binary-file consequences.
- Examples
- Uses multilingual documents, Unicode-order string sorting, and chunked reads from binary files.
- What you can do after
- Operate Python text and binary file handling by choosing Unicode text mode or byte-oriented binary mode.
Read how Python Workout: 50 ten-minute exercises explains Unicode →
The Quick Python Book, Fourth Edition
Unicode is a character-encoding standard that assigns code points to characters across the world's writing systems and many symbols.
- How it is used
- Supports portable Unicode text, string escapes, byte conversion, and reliable reading and writing of international text files.
- How deep it goes
- Explains escapes, string-byte boundaries, UTF-8, and decoding-error options, but stops short of Unicode-system internals.
- Examples
- Demonstrates named and numeric escapes, accented characters, encode/decode conversion, incompatible types, and invalid-file-byte handling.
- What you can do after
- Apply it via Python strings, encode(), decode(), and open() options to represent text and manage encoding errors.
Read how The Quick Python Book, Fourth Edition explains Unicode →
Julia as a Second Language
Unicode is a universal character standard that assigns identifiers and encoding rules to characters across writing systems.
- How it is used
- Uses Unicode to explain how Julia handles multilingual strings and why character indexing can be surprising.
- How deep it goes
- Explains code points, UTF-8 code units, and string traversal, including an excerpt of the string-specific nextind implementation.
- Examples
- Compares the lengths and indices of Norwegian words and inspects code points and code-unit counts for letters and an emoji.
- What you can do after
- Diagnose Julia string indexing errors by distinguishing code points from UTF-8 code units and using valid traversal indices.
How Computers Make Books
Unicode is an international character-encoding standard that assigns numeric code points to characters and defines rules for their combination without prescribing their visual glyph shapes.
- How it is used
- Represents the world’s writing systems as numbers that computers can store and process.
- How deep it goes
- Explains code points, ASCII compatibility, combining marks, and Thai combinations, but stops short of encoding algorithms and glyph rendering.
- Examples
- Uses ASCII’s A, accented letters, common symbols, the Thai alphabet, Braille patterns, and Linear A.
- What you can do after
- Evaluate how characters, accents, writing systems, and visual glyphs occupy different roles in digital text.
Grokking Algorithms, Second Edition
Unicode is a character encoding standard that assigns code points to characters across writing systems.
- How it is used
- Provides a shared character standard for representing writing systems across languages and selecting compatible storage encodings.
- How deep it goes
- Defines Unicode’s purpose and UTF-8’s byte range, but stops short of explaining Unicode’s internal character assignments.
- Examples
- Uses umlauts, currency symbols, emojis, and binary decoded as ISO-8859-1 to contrast character coverage and encoding formats.
- What you can do after
- Evaluate/understand why Unicode exists and choose UTF-8 as a default project encoding.
Read how Grokking Algorithms, Second Edition explains Unicode →
Also covered in
- API Design Patterns
- Deep Learning with PyTorch, Second Edition
- Python Workout, Second Edition
- Tiny CSS Projects
What to know first
- ASCIIASCII is a 7-bit character-encoding standard that assigns numeric codes to 128 basic Latin characters, symbols, punctuation marks, digits, and control characters.
- characterA character is a unit of text treated as a single symbol or element in a character sequence, independent of its underlying encoding.
- 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.
Related concepts
- code pointproduces · A code point is a numeric value assigned by a character-representation standard to identify an abstract character or symbol.
- ASCIIalternative to · ASCII is a 7-bit character-encoding standard that assigns numeric codes to 128 basic Latin characters, symbols, punctuation marks, digits, and control characters.
- stringused by · A string is a programming-language value representing textual data as an ordered sequence of characters or encoded units.
- UTF-8used by · UTF-8 is a variable-width Unicode encoding that represents each Unicode scalar value as one to four bytes and preserves ASCII byte representations.
- basic multilingual planehas part · The Basic Multilingual Plane is the Unicode plane containing code points from U+0000 through U+FFFF.
Questions about Unicode
What is Unicode?
Unicode is a standard that assigns code points and properties to characters and defines encoding forms for representing text digitally.
Which Manning books explain Unicode?
Modern C, Third Edition, JavaScript in Depth, Modern C, Learn Rust in a Month of Lunches, Python Workout: 50 ten-minute exercises, The Quick Python Book, Fourth Edition, Julia as a Second Language, How Computers Make Books and 1 more.
What should I know before learning Unicode?
Manning books that teach Unicode usually introduce ASCII, character, Python and bit first.
What is the difference between Unicode and ASCII?
Unicode is a standard that assigns code points and properties to characters and defines encoding forms for representing text digitally. ASCII is a 7-bit character-encoding standard that assigns numeric codes to 128 basic Latin characters, symbols, punctuation marks, digits, and control characters.
What are the parts of Unicode?
Unicode includes basic multilingual plane and emoji character.
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.








