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 →
What to know first
- referenceA reference is an indirect value, binding, or relationship that identifies or provides access to another object, value, resource, or source.
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 collection of functions, types, macros, and headers specified by the C language standard for use by C programs.
Questions about extended character set
What is extended character set?
An extended character set is a character repertoire containing characters beyond those in the C basic character set.
Which Manning books explain extended character set?
Modern C and Modern C, Third Edition.
What should I know before learning extended character set?
Manning books that teach extended character set usually introduce reference and wctype.h first.
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.

