Converts an ASCII character to a UTF-8 character.
#include <unilib.h> int chr2utf8 ( UniRuleTable_t table, char *dest, const char *src, int *used );
(IN) Specifies the table to use in the conversion. To use the host's default code page, specify UNI_LOCAL_DEFAULT. Otherwise, specify the value returned from the UniGetTable function.
(OUT) Points to the address of the converted character, which is null terminated.
(IN) Points to the source character. You do not need to null terminate the character, and you do not need to know the width of the character to be converted
(OUT) Points to the number of bytes in the UTF-8 character that was converted.
If successful, returns 0. Otherwise, returns a negative error code: