Next: Comparison of character APIs, Previous: The char32_t
type, Up: Characters [Contents][Index]
mbchar_t
typeGnulib defines an alternate way to encode a multibyte character:
mbchar_t
. Its main feature is the ability to process a string or
stream with some malformed characters without reporting an error.
The type mbchar_t
, defined in "mbchar.h"
, holds a
character in both the multibyte and the 32-bit wide character
representation. In case of a malformed character only the multibyte
representation is used.