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

NAME

6       FcUtf8Len - count UTF-8 encoded chars
7

SYNOPSIS

9       #include <fontconfig.h>
10
11       FcBool FcUtf8Len(FcChar8 *src);
12       (int len);
13       (int *nchar);
14       (int *wchar);
15       .fi
16

DESCRIPTION

18       Counts  the  number  of  Unicode chars in len bytes of src. Places that
19       count in nchar. wchar contains 1, 2 or 4 depending  on  the  number  of
20       bytes needed to hold the largest unicode char counted. The return value
21       indicates whether src is a well-formed UTF8 string.
22

VERSION

24       Fontconfig version 2.8.0
25
26
27
28                               18 November 2009                   FcUtf8Len(3)
Impressum