FcUtf8ToUcs4(3) FcUtf8ToUcs4(3)

FcUtf8ToUcs4 - convert UTF-8 to UCS4

#include <fontconfig/fontconfig.h>

int FcUtf8ToUcs4 (FcChar8 *src, FcChar32 *dst, int len);

Converts the next Unicode char from src into dst and returns the number of bytes containing the char. src must be at least len bytes long.

01 January 2024 Fontconfig 2.15.0