Unicode.unicharToUtf8

Converts a single character to UTF-8.

class Unicode
static
int
unicharToUtf8
(,
string outbuf
)

Parameters

c gunichar

a Unicode character code

outbuf string

output buffer, must have at least 6 bytes of space. If NULL, the length will be computed and returned and nothing will be written to outbuf.

Return Value

Type: int

number of bytes written

Meta