Lines Matching refs:str_w
45 wchar_t *str_w = NULL;
51 str_w = malloc(str_w_len * sizeof(wchar_t));
52 if(str_w) {
53 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w,
55 free(str_w);
62 return str_w;
65 char *curlx_convert_wchar_to_UTF8(const wchar_t *str_w)
69 if(str_w) {
70 int bytes = WideCharToMultiByte(CP_UTF8, 0, str_w, -1,
75 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes,