to_utf8
Description:
Converts a single character to UTF-8.
Parameters:
| 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
|
| c |
a Unicode character code |
Returns:
|
number of bytes written, guaranteed to be in the range [1, 6] |