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
Uses multibyte characters to format and print extended-character strings.
How deep it goes
Explains string compatibility and character counting, including conversion state and a helper implementation.
Examples
Uses accented text and box-drawing characters to illustrate terminal output and separator formatting.
What you can do after
Apply character counting to formatted output using a nonstandard mbsrlen helper and C’s mbsrtowcs function.

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.