Imported Upstream version 2.13.1
[platform/upstream/fontconfig.git] / doc / FcUcs4ToUtf8.3
1 .\" auto-generated by docbook2man-spec from docbook-utils package
2 .TH "FcUcs4ToUtf8" "3" "30 8月 2018" "Fontconfig 2.13.1" ""
3 .SH NAME
4 FcUcs4ToUtf8 \- convert UCS4 to UTF-8
5 .SH SYNOPSIS
6 .nf
7 \fB#include <fontconfig/fontconfig.h>
8 .sp
9 int FcUcs4ToUtf8 (FcChar32 \fIsrc\fB, FcChar8 \fIdst[FC_UTF8_MAX_LEN]\fB);
10 .fi\fR
11 .SH "DESCRIPTION"
12 .PP
13 Converts the Unicode char from \fIsrc\fR into
14 \fIdst\fR and returns the number of bytes needed to encode
15 the char.