Lines Matching refs:str_utf8
40 wchar_t *Curl_convert_UTF8_to_wchar(const char *str_utf8)
44 if(str_utf8) {
46 str_utf8, -1, NULL, 0);
50 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w,
63 char *str_utf8 = NULL;
69 str_utf8 = malloc(str_utf8_len * sizeof(wchar_t));
70 if(str_utf8) {
71 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, str_utf8_len,
73 Curl_safefree(str_utf8);
79 return str_utf8;