#include <fontconfig.h>
int FcUtf8ToUcs4(FcChar8 *src, FcChar32 *dst, intlen);
int FcUtf8ToUcs4
Converts the next Unicode char from src into dst and returns the number of bytes containing the char. src nust be at least len bytes long.
Fontconfig version 2.4.1