Function
GLibunichar_to_utf8
Declaration [src]
gint
g_unichar_to_utf8 (
gunichar c,
gchar* outbuf
)
Parameters
c
-
Type:
gunichar
A Unicode character code.
outbuf
-
Type:
gchar*
Output buffer, must have at least 6 bytes of space. If
NULL
, the length will be computed and returned and nothing will be written tooutbuf
.The argument will be set by the function. The argument can be NULL
.The value is a NUL terminated UTF-8 string.