FcUtf8Len.3 revision a6844aab
1.\\" auto-generated by docbook2man-spec $Revision: 1.1.1.2 $
2.TH "FcUtf8Len" "3" "18 November 2009" "" ""
3.SH NAME
4FcUtf8Len \- count UTF-8 encoded chars
5.SH SYNOPSIS
6.nf
7\fB#include <fontconfig.h>
8.sp
9FcBool FcUtf8Len(FcChar8 *\fIsrc\fB);
10(int \fIlen\fB);
11(int *\fInchar\fB);
12(int *\fIwchar\fB);
13\fR.fi
14.SH "DESCRIPTION"
15.PP
16Counts the number of Unicode chars in \fIlen\fR bytes of
17\fIsrc\fR\&. Places that count in
18\fInchar\fR\&. \fIwchar\fR contains 1, 2 or
194 depending on the number of bytes needed to hold the largest unicode char
20counted. The return value indicates whether \fIsrc\fR is a
21well-formed UTF8 string.
22.SH "VERSION"
23.PP
24Fontconfig version 2.8.0
25