liveBook · Manning

Extended character set

An extended character set is a character repertoire containing characters beyond those in the C basic character set.

How 2 Manning books explain it

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.

Read how Modern C explains extended character set →

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

Related concepts

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.