1FcUtf16Len(3) FcUtf16Len(3)
2
3
4
6 FcUtf16Len - count UTF-16 encoded chars
7
9 #include <fontconfig.h>
10
11 FcBool FcUtf16Len(FcChar8 *src);
12 (FcEndian endian);
13 (int len);
14 (int *nchar);
15 (int *wchar);
16 .fi
17
19 Counts the number of Unicode chars in len bytes of src. Bytes of src
20 are combined into 16-bit units according to endian. Places that count
21 in nchar. wchar contains 1, 2 or 4 depending on the number of bytes
22 needed to hold the largest unicode char counted. The return value indi‐
23 cates whether string is a well-formed UTF16 string.
24
26 Fontconfig version 2.8.0
27
28
29
30 18 November 2009 FcUtf16Len(3)