CODESET
if (what == CODESET)
nl_langinfo_l(CODESET, loc))) != 0) {
nl_langinfo_l(CODESET, loc), "utf-32le")) != 0) {
[ CODESET ] = offsetofu16(_RuneLocale, rl_codeset),
[ CODESET ] = LC_CTYPE,
lstr = nl_langinfo(CODESET);
tocode = nl_langinfo(CODESET);
(void)printf("Charset: %s\n", nl_langinfo(CODESET));
if (strncmp(nl_langinfo(CODESET), "ISO8859-", 8))
opt_f = nl_langinfo(CODESET);
opt_t = nl_langinfo(CODESET);
{ "charmap", 1, LC_CTYPE, CODESET, "" }, /* hack */
ih = iconv_open(nl_langinfo(CODESET), codeset);
cd = iconv_open(nl_langinfo(CODESET), NTFS_ENC);
ic = iconv_open(nl_langinfo(CODESET), "UTF-8");