trn_char16_t * trn_utf8_to_utf16(trn_char16_t *out, const char *in, size_t n)
Converts a UTF-8 string to UTF-16 Writes at most n characters to out, returning NULL if there is an e...
char * trn_utf16_to_utf8(char *out, const trn_char16_t *in, size_t n)
Converts a UTF-16 string to UTF-8 Writes at most n characters to out, returning NULL if there is an e...