1
.\" This manpage has been automatically generated by docbook2man
2
.\" from a DocBook document. This tool can be found at:
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
4
.\" Please send any bug reports, improvements, comments, patches,
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
6
.TH "FcUtf8Len" "3" "10 March 2004" "" ""
9
FcUtf8Len \- count UTF-8 encoded chars
12
\fB#include <fontconfig.h>
14
FcBool FcUtf8Len (FcChar8 *\fIsrc\fB, int\fIlen\fB, int *\fInchar\fB, int *\fIwchar\fB);
18
Counts the number of Unicode chars in \fIlen\fR bytes of
19
\fIsrc\fR. Places that count in
20
\fInchar\fR. \fIwchar\fR contains 1, 2 or
21
4 depending on the number of bytes needed to hold the largest unicode char
22
counted. The return value indicates whether \fIsrc\fR is a
23
well-formed UTF8 string.
26
Fontconfig version 2.2.2