--- sh.func.c +++ sh.func.c 2007-07-13 12:36:10.233075909 +0200 @@ -2416,9 +2416,7 @@ nlsinit(void) if (catalog != default_catalog) xfree(catalog); #if defined(HAVE_ICONV) && defined(HAVE_NL_LANGINFO) - /* xcatgets (), not CGETS, the charset name should be in ASCII anyway. */ - catgets_iconv = iconv_open (nl_langinfo (CODESET), - xcatgets(catd, 255, 1, "ASCII")); + catgets_iconv = iconv_open (nl_langinfo (CODESET), "UTF-8"); #endif /* HAVE_ICONV && HAVE_NL_LANGINFO */ #endif /* NLS_CATALOGS */ #ifdef WINNT_NATIVE