liveBook · Manning

Code point

Also called Unicode codepoint, Unicode value

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

How 7 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 explain character identity, C text encodings, identifiers, and conversion boundaries.
How deep it goes
Defines code points and works through escapes, normalization, encoding sizes, and restartable conversion.
Examples
Uses Latin small a with diaeresis, the Ohm sign and Omega, and a character encoded as a UTF-16 surrogate pair.
What you can do after
Diagnose code-point boundaries in multibyte input using restartable conversion and buffered UTF-8 output.

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
Introduces code points to explain extended characters in C multibyte strings.
How deep it goes
Defines code points and distinguishes glyphs, then explains four- and eight-digit C escape forms.
Examples
Uses ä as 228 or 0xE4, contrasts Latin A with Greek Alpha, and specifies box-drawing characters in C macros.
What you can do after
Apply code points using C universal character escapes in multibyte string literals.

Read how Modern C explains code point →

JavaScript in Depth

An integer value assigned to a specific abstract character or symbol in a character encoding standard.

How it is used
Distinguishes Unicode’s assigned symbol numbers from their representations in bytes.
How deep it goes
Defines code points and works through UTF-32 storage, UTF-16 surrogate arithmetic, and UTF-8 byte ranges.
Examples
Compares ASCII and UTF-32 encodings of `hello` and calculates `0x10437` from a UTF-16 surrogate pair.
What you can do after
Evaluate/understand why a symbol’s assigned number and its encoded byte count are different quantities.

Read how JavaScript in Depth 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
Uses code points to explain how Julia handles text from different languages.
How deep it goes
Defines code points, contrasts them with code units, and works through UTF-8 encoding and string indexing.
Examples
Compares 'A', 'Æ', and '😏', then iterates over a string with nonconsecutive character indices.
What you can do after
Apply it via Julia’s `codepoint`, `Char`, and `ncodeunits` functions to inspect characters and their encodings.

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 →

Also covered in

What to know first

Related concepts

Questions about code point

What is code point?

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

Which Manning books explain code point?

Modern C, Third Edition, Modern C, JavaScript in Depth, Julia as a Second Language, 100 Java Mistakes and How to Avoid Them, 100 Go Mistakes and How to Avoid Them and API Design Patterns.

What should I know before learning code point?

Manning books that teach code point usually introduce ASCII, character, bytes and bit first.

What is code point also called?

Code point is also called Unicode codepoint or Unicode value.

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.