tcsh/tcsh-6.14.00-utf8.dif

14 lines
494 B
Plaintext

--- sh.func.c
+++ sh.func.c 2005-08-18 14:15:31.000000000 +0200
@@ -2515,9 +2515,7 @@
short2str(varval(STRcatalog)));
catd = catopen(catalog, MCLoadBySet);
#ifdef HAVE_ICONV
- /* catgets (), not CGETS, the charset name should be in ASCII anyway. */
- catgets_iconv = iconv_open (nl_langinfo (CODESET),
- catgets(catd, 255, 1, "ASCII"));
+ catgets_iconv = iconv_open(nl_langinfo(CODESET), "UTF-8");
#endif /* HAVE_ICONV */
#endif /* NLS_CATALOGS */
#ifdef WINNT_NATIVE