Extended character set
An extended character set is a character repertoire containing characters beyond those in the C basic character set.
Modern C
An extended character set is a character repertoire that includes characters beyond the C basic character set.
- How it is used
- Uses multibyte strings to handle extended characters in C text processing and output.
- How deep it goes
- Defines multibyte characters and strings, then implements a wide-character length helper with conversion state and encoding-error handling.
- Examples
- Uses accented and phonetic characters, box-drawing strings, and a separator-formatting function to illustrate multibyte output.
- What you can do after
- Apply it via C library locale and multibyte conversion functions to print and count extended characters.
Modern C, Third Edition
An extended character set is a repertoire that includes characters beyond the limited C basic character set, such as characters from additional scripts and writing systems.
- How it is used
- Uses multibyte strings to handle extended characters in C text input and output.
- How deep it goes
- Defines multibyte characters and strings, then works through locale setup, length calculation, conversion, and parsing state.
- Examples
- Uses box-drawing string literals and a stateful mbsrtowcs-based length helper.
- What you can do after
- Apply it using C multibyte strings and conversion functions while accounting for locale and byte-length differences.
Read how Modern C, Third Edition explains extended character set →
Related concepts
- multibyte stringuses · A multibyte string is a character sequence in which one logical character may occupy multiple bytes according to an encoding, typically terminated by a null character.
- C standard libraryused by · The C standard library is the standardized collection of functions, types, macros, and headers specified for use by C programs.
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.

