1FcUtf8Len(3) FcUtf8Len(3)
2
3
4
6 FcUtf8Len - count UTF-8 encoded chars
7
9 #include <fontconfig.h>
10
11 FcBool FcUtf8Len (FcChar8 *src, int len, int *nchar, int *wchar);
12
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
17 value indicates whether src is a well-formed UTF8 string.
18
20 Fontconfig version 2.4.2
21
22
23
24 11 May 2007 FcUtf8Len(3)