Man page - fcucs4toutf8(3)

Packages contas this manual

Manual

FcUcs4ToUtf8(3) FcUcs4ToUtf8(3)

FcUcs4ToUtf8 - convert UCS4 to UTF-8

#include <fontconfig/fontconfig.h>

int FcUcs4ToUtf8 (FcChar32 src, FcChar8 dst[FC_UTF8_MAX_LEN]);

Converts the Unicode char from src into dst and returns the number of bytes needed to encode the char.

04 April 2025 Fontconfig 2.15.0