liveBook · Manning

Multibyte character

A multibyte character is a sequence of bytes interpreted as one character in an extended character encoding.

How 2 Manning books explain it

Modern C

A multibyte character is a sequence of bytes interpreted as one character in an extended character set.

How it is used
Supports extended-character output while distinguishing character counts from byte lengths in C strings.
How deep it goes
Defines the byte sequence and string rules, then demonstrates counting and flags conversion state without detailing its mechanics.
Examples
Uses decorated line output with horizontal bars and mbsrlen-based length calculations.
What you can do after
Apply it via setlocale and mbsrlen to print extended characters and count their converted length.

Read how Modern C explains multibyte character →

Modern C, Third Edition

A multibyte character is a sequence of bytes interpreted as one character from an extended character set.

How it is used
Explains extended-character output and multibyte-string processing in C programs.
How deep it goes
Defines byte representation, termination, counting limits, locale setup, and stateful conversion, but defers full parsing details.
Examples
Uses locale-enabled output, accented text, box-drawing literals, and mbsrtowcs-based character counting.
What you can do after
Apply locale setup and stateful conversion while avoiding byte-length assumptions for printed-character counts.

Read how Modern C, Third Edition explains multibyte character →

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.