2010-03-25 15:45:57 -06:00
|
|
|
.\\" auto-generated by docbook2man-spec $Revision: 1.3 $
|
|
|
|
.TH "FcUtf8Len" "3" "18 November 2009" "" ""
|
2006-11-25 11:41:30 -07:00
|
|
|
.SH NAME
|
|
|
|
FcUtf8Len \- count UTF-8 encoded chars
|
|
|
|
.SH SYNOPSIS
|
2010-03-25 15:45:57 -06:00
|
|
|
.nf
|
2006-11-25 11:41:30 -07:00
|
|
|
\fB#include <fontconfig.h>
|
|
|
|
.sp
|
2010-03-25 15:45:57 -06:00
|
|
|
FcBool FcUtf8Len(FcChar8 *\fIsrc\fB);
|
|
|
|
(int \fIlen\fB);
|
|
|
|
(int *\fInchar\fB);
|
|
|
|
(int *\fIwchar\fB);
|
|
|
|
\fR.fi
|
2006-11-25 11:41:30 -07:00
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.PP
|
|
|
|
Counts the number of Unicode chars in \fIlen\fR bytes of
|
2010-03-25 15:45:57 -06:00
|
|
|
\fIsrc\fR\&. Places that count in
|
|
|
|
\fInchar\fR\&. \fIwchar\fR contains 1, 2 or
|
2006-11-25 11:41:30 -07:00
|
|
|
4 depending on the number of bytes needed to hold the largest unicode char
|
2010-03-25 15:45:57 -06:00
|
|
|
counted. The return value indicates whether \fIsrc\fR is a
|
2006-11-25 11:41:30 -07:00
|
|
|
well-formed UTF8 string.
|
|
|
|
.SH "VERSION"
|
|
|
|
.PP
|
2010-03-25 15:45:57 -06:00
|
|
|
Fontconfig version 2.8.0
|