Site Tools


wiki:h-stdmchar

Table of Contents

<stdmchar.h>

<stdmchar.h> is a proposed C header (C2y/C3x) designed to fix Unicode handling deficiencies in <wchar.h> and <uchar.h> with cleaner, safer APIs. As of C23, it is not yet standardized and compilers do not ship it.

When standardized, it will provide portable UTF-8 to local encoding transcoding without platform-specific APIs.

Example

This is a placeholder for when the header becomes available; <uchar.h> is the current portable Unicode solution.

// <stdmchar.h> is not yet in the C standard.
// For now, use <uchar.h> or POSIX iconv for Unicode transcoding.
wiki/h-stdmchar.md · Last modified: by 127.0.0.1