stringprep_unichar_to_utf83
Api function
Usage
#include <stringprep.h>
int stringprep_unichar_to_utf8(uint32_t c, char * outbuf);
Arguments
- uint32_t c
-
a ISO10646 character code
- char * outbuf
-
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 .
Overview
Converts a single character to UTF-8.
Return value: number of bytes written.
Releases
11 releases since Debian 3.1 (Sarge); the text changed 8 times.