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, FcEndian endian, int len, int *nchar, int *wchar);
12
14 Counts the number of Unicode chars in len bytes of src. Bytes of src
15 are combined into 16-bit units according to endian. Places that count
16 in nchar. wchar contains 1, 2 or 4 depending on the number of bytes
17 needed to hold the largest unicode char counted. The return value
18 indicates whether string is a well-formed UTF16 string.
19
21 Fontconfig version 2.4.2
22
23
24
25 11 May 2007 FcUtf16Len(3)