man-pages/man3/FcUtf8Len.3.html
2021-03-31 01:06:50 +01:00

49 lines
1.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of FcUtf8Len</TITLE>
</HEAD><BODY>
<H1>FcUtf8Len</H1>
Section: (3)<BR>Updated: 06 April 2020<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<P>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
FcUtf8Len - count UTF-8 encoded chars
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
<B>#include &lt;<A HREF="file:///usr/include/fontconfig/fontconfig.h">fontconfig/fontconfig.h</A>&gt;
<P>
FcBool FcUtf8Len (FcChar8 *</B><I>src</I><B>, int </B><I>len</I><B>, int *</B><I>nchar</I><B>, int *</B><I>wchar</I><B>);
</B>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
Counts the number of Unicode chars in <I>len</I> bytes of
<I>src</I>. Places that count in
<I>nchar</I>. <I>wchar</I> contains 1, 2 or
4 depending on the number of bytes needed to hold the largest Unicode char
counted. The return value indicates whether <I>src</I> is a
well-formed UTF8 string.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:42 GMT, March 31, 2021
</BODY>
</HTML>