Home | History | Annotate | Download | only in lib

Lines Matching full:str_utf8

38 wchar_t *Curl_convert_UTF8_to_wchar(const char *str_utf8)
42 if(str_utf8) {
44 str_utf8, -1, NULL, 0);
48 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w,
62 char *str_utf8 = NULL;
68 str_utf8 = malloc(str_utf8_len * sizeof(wchar_t));
69 if(str_utf8) {
70 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, str_utf8_len,
72 free(str_utf8);
79 return str_utf8;