Home
last modified time | relevance | path

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

/third_party/curl/lib/
Dcurl_multibyte.c43 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8) in curlx_convert_UTF8_to_wchar() argument
47 if(str_utf8) { in curlx_convert_UTF8_to_wchar()
49 str_utf8, -1, NULL, 0); in curlx_convert_UTF8_to_wchar()
53 if(MultiByteToWideChar(CP_UTF8, 0, str_utf8, -1, str_w, in curlx_convert_UTF8_to_wchar()
67 char *str_utf8 = NULL; in curlx_convert_wchar_to_UTF8() local
73 str_utf8 = malloc(bytes); in curlx_convert_wchar_to_UTF8()
74 if(str_utf8) { in curlx_convert_wchar_to_UTF8()
75 if(WideCharToMultiByte(CP_UTF8, 0, str_w, -1, str_utf8, bytes, in curlx_convert_wchar_to_UTF8()
77 free(str_utf8); in curlx_convert_wchar_to_UTF8()
84 return str_utf8; in curlx_convert_wchar_to_UTF8()
Dcurl_multibyte.h34 wchar_t *curlx_convert_UTF8_to_wchar(const char *str_utf8);