aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/fontconfig/doc/FcUtf8Len.3
blob: b6a6923e768116f914b7d371152c9c2a998a9820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.\" This manpage has been automatically generated by docbook2man 
.\" from a DocBook document.  This tool can be found at:
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
.\" Please send any bug reports, improvements, comments, patches, 
.\" etc. to Steve Cheng <steve@ggi-project.org>.
.TH "FcUtf8Len" "3" "27 April 2005" "" ""

.SH NAME
FcUtf8Len \- count UTF-8 encoded chars
.SH SYNOPSIS
.sp
\fB#include <fontconfig.h>
.sp
FcBool FcUtf8Len (FcChar8 *\fIsrc\fB, int\fIlen\fB, int *\fInchar\fB, int *\fIwchar\fB);
\fR
.SH "DESCRIPTION"
.PP
Counts the number of Unicode chars in \fIlen\fR bytes of
\fIsrc\fR\&.  Places that count in
\fInchar\fR\&.  \fIwchar\fR contains 1, 2 or
4 depending on the number of bytes needed to hold the largest unicode char
counted.  The return value indicates whether \fIsrc\fR is a
well-formed UTF8 string.
.SH "VERSION"
.PP
Fontconfig version 2.3.2