Lines Matching refs:outcharset
808 const char *outcharset; in _nl_init_domain_conv() local
827 outcharset = domainbinding->codeset; in _nl_init_domain_conv()
830 outcharset = getenv ("OUTPUT_CHARSET"); in _nl_init_domain_conv()
831 if (outcharset == NULL || outcharset[0] == '\0') in _nl_init_domain_conv()
834 outcharset = _NL_CURRENT (LC_CTYPE, CODESET); in _nl_init_domain_conv()
838 outcharset = locale_charset (); in _nl_init_domain_conv()
846 outcharset = norm_add_slashes (outcharset, "TRANSLIT"); in _nl_init_domain_conv()
848 if (__gconv_open (outcharset, charset, &domain->conv, in _nl_init_domain_conv()
858 if (strchr (outcharset, '/') == NULL) in _nl_init_domain_conv()
862 len = strlen (outcharset); in _nl_init_domain_conv()
864 memcpy (tmp, outcharset, len); in _nl_init_domain_conv()
866 outcharset = tmp; in _nl_init_domain_conv()
868 domain->conv = iconv_open (outcharset, charset); in _nl_init_domain_conv()
870 freea (outcharset); in _nl_init_domain_conv()
874 domain->conv = iconv_open (outcharset, charset); in _nl_init_domain_conv()