Functions | |
size_t | gf_utf8_wcstombs (char *dst, size_t dst_len, const unsigned short **srcp) |
wide-char to multibyte conversion | |
size_t | gf_utf8_mbstowcs (unsigned short *dst, size_t dst_len, const char **srcp) |
multibyte to wide-char conversion | |
size_t | gf_utf8_wcslen (const unsigned short *s) |
wide-char string length |
size_t gf_utf8_wcstombs | ( | char * | dst, | |
size_t | dst_len, | |||
const unsigned short ** | srcp | |||
) |
Converts a wide-char string to a multibyte string
dst | multibyte destination buffer | |
dst_len | multibyte destination buffer size | |
srcp | address of the wide-char string. This will be set to the next char to be converted in the input buffer if not enough space in the destination, or NULL if conversion was completed. |
size_t gf_utf8_mbstowcs | ( | unsigned short * | dst, | |
size_t | dst_len, | |||
const char ** | srcp | |||
) |
Converts a multibyte string to a wide-char string
dst | wide-char destination buffer | |
dst_len | wide-char destination buffer size | |
srcp | address of the multibyte character buffer. This will be set to the next char to be converted in the input buffer if not enough space in the destination, or NULL if conversion was completed. |
size_t gf_utf8_wcslen | ( | const unsigned short * | s | ) |
Returns the length in character of a wide-char string
s | the wide-char string |