Name
composechar -- write Unicode character to UTF-8 string (V7.0)
Synopsis
void composechar(char *s, int ch);
Function
Converts the Unicode character specified in ch to UTF-8 and writes it to the string specified in s. It also appends a terminating NULL character. Thus, this function may write up to 5 bytes to s so make sure the buffer is large enough.

Designer compatibility
Unsupported

Inputs
s
output string
ch
Unicode character to convert to UTF-8

Show TOC