liveBook · Manning

Code point

A code point is a numeric value assigned by a character-representation standard to identify an abstract character or symbol.

How 6 Manning books explain it

Modern C, Third Edition

A code point is a numeric value identifying a character or abstract symbol in a character repertoire such as Unicode.

How it is used
Uses code points to distinguish Unicode characters from their glyphs and encoded representations in C text and identifiers.
How deep it goes
Defines the character concept and works through escapes, UTF element counts, normalization, and incomplete multibyte input.
Examples
Uses box-drawing escapes, an accented letter, and UTF-16 and UTF-32 literals for `𝒜`.
What you can do after
Apply it via C escapes and restartable conversion to represent characters and recognize complete multibyte input.

Read how Modern C, Third Edition explains code point →

Modern C

A code point is a numeric value assigned by a character standard to a character concept.

How it is used
Identifies character concepts when writing extended characters in C multibyte strings.
How deep it goes
Defines the distinction from glyphs and works through C11 escape syntax without detailing the resulting byte encoding.
Examples
Uses \u00E4 for ä and escaped box-drawing characters in C macros.
What you can do after
Apply it via C11 \u and \U escapes to specify Unicode characters in multibyte strings.

Read how Modern C explains code point →

Julia as a Second Language

A code point is a numeric value assigned to an abstract character or other element in a coded character set.

How it is used
Clarifies why multilingual Julia strings cannot be treated as one byte per character.
How deep it goes
Works through numeric identifiers, variable-width storage, and string iteration; shows only an excerpt of `nextind` internals.
Examples
Demonstrates `A`, `Æ`, and an emoji in REPL calls, then iterates a multilingual string with skipped indices.
What you can do after
Apply Julia’s `codepoint`, `ncodeunits`, and `nextind` to distinguish character identity from storage and traverse strings.

Read how Julia as a Second Language explains code point →

100 Java Mistakes and How to Avoid Them

A Unicode code point is a numeric value identifying an abstract character or character-related symbol in the Unicode character set.

How it is used
Prevents Unicode text processing from confusing UTF-16 code units with displayed characters.
How deep it goes
Explains surrogate pairs, combining characters, failure effects, and Java alternatives, but does not fully define grapheme segmentation.
Examples
Uses emoji, skin-tone modifiers, fixed-row string splitting, digit checks, code-point streams, and BreakIterator.
What you can do after
Apply it via Java codePointAt(), codePoints(), and BreakIterator when processing Unicode text safely.

Read how 100 Java Mistakes and How to Avoid Them explains code point →

100 Go Mistakes and How to Avoid Them

A Unicode code point is a numeric value that identifies an abstract character or symbol in the Unicode standard.

How it is used
Explains why Go string operations can confuse byte counts, rune counts, and character-oriented behavior.
How deep it goes
Defines code points, contrasts them with encodings, and traces UTF-8 byte length before stopping at broader string operations.
Examples
Uses 汉, U+6C49, its three UTF-8 bytes, and len("汉") to expose byte-versus-rune counting.
What you can do after
Apply rune-aware iteration and indexing while diagnosing incorrect assumptions about Go string length or encoding.

Read how 100 Go Mistakes and How to Avoid Them explains code point →

API Design Patterns

A Unicode code point is a numeric value assigned by Unicode to identify a character or other encoded abstract element.

How it is used
Defines a practical unit for string-length limits and explains why Unicode representations matter for web-API identifiers.
How deep it goes
Explains code-point counting, UTF-32 sizing, normalization ambiguity, and ASCII recommendations without developing Unicode normalization in detail.
Examples
Uses “á” as both a single code point and a composed sequence to expose representation differences.
What you can do after
Apply code-point-aware limits, estimate storage conservatively, reject overlong strings, and choose ASCII for unique identifiers.

Read how API Design Patterns explains code point →

Related concepts

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.