Searched refs:utf8_str (Results 1 – 3 of 3) sorted by relevance
340 char_u *utf8_str; in mac_utf16_to_enc() local347 if (utf8_str) in mac_utf16_to_enc()361 result = utf8_str; in mac_utf16_to_enc()366 vim_free(utf8_str); in mac_utf16_to_enc()394 char_u *utf8_str; in mac_enc_to_utf16() local417 utf8_str = from; in mac_enc_to_utf16()421 if (utf8_str == NULL) in mac_enc_to_utf16()429 vim_free(utf8_str); in mac_enc_to_utf16()539 CFStringRef utf8_str; in mac_utf8_to_utf16() local546 if (utf8_str == NULL) { in mac_utf8_to_utf16()[all …]
681 char_u *utf8_str = NULL, *enc_str = NULL; in utf16_to_enc() local702 utf8_str = alloc(utf16_to_utf8(str, *lenp == 0 ? 1 : *lenp, NULL)); in utf16_to_enc()703 if (utf8_str != NULL) in utf16_to_enc()705 *lenp = utf16_to_utf8(str, *lenp, utf8_str); in utf16_to_enc()714 enc_str = utf8_str; in utf16_to_enc()718 enc_str = string_convert(&conv, utf8_str, lenp); in utf16_to_enc()719 vim_free(utf8_str); in utf16_to_enc()
6878 echo iconv(utf8_str, "utf-8", &enc)