Home
last modified time | relevance | path

Searched refs:str_utf8 (Results 1 – 2 of 2) sorted by relevance

/third_party/curl/lib/
Dcurl_multibyte.c41 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8) in curlx_convert_UTF8_to_wchar() argument
45 if(str_utf8) { in curlx_convert_UTF8_to_wchar()
47 str_utf8, -1, NULL, 0); in curlx_convert_UTF8_to_wchar()
51 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in curlx_convert_UTF8_to_wchar()
65 char *str_utf8 = NULL; in curlx_convert_wchar_to_UTF8() local
71 str_utf8 = malloc(bytes); in curlx_convert_wchar_to_UTF8()
72 if(str_utf8) { in curlx_convert_wchar_to_UTF8()
73 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in curlx_convert_wchar_to_UTF8()
75 free(str_utf8); in curlx_convert_wchar_to_UTF8()
82 return str_utf8; in curlx_convert_wchar_to_UTF8()
Dcurl_multibyte.h32 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8);