1FcUtf8Len(3)                                                      FcUtf8Len(3)
2
3
4

NAME

6       FcUtf8Len - count UTF-8 encoded chars
7

SYNOPSIS

9       #include <fontconfig/fontconfig.h>
10
11       FcBool FcUtf8Len (FcChar8 *src, int len, int *nchar, int *wchar);
12

DESCRIPTION

14       Counts  the  number  of  Unicode chars in len bytes of src. Places that
15       count in nchar. wchar contains 1, 2 or 4 depending  on  the  number  of
16       bytes needed to hold the largest Unicode char counted. The return value
17       indicates whether src is a well-formed UTF8 string.
18
19
20
21Fontconfig 2.13.93               28 11月 2020                     FcUtf8Len(3)
Impressum