comparison mcabber/src/screen.c @ 1651:d0a0d96ed5d5

Set all locale variables Set LC_ALL (all locale variables) instead of only LC_CTYPE at startup
author Myhailo Danylenko <isbear@ukrpost.net>
date Wed, 18 Nov 2009 05:59:44 +0200
parents f4a2c6f767d1
children fca9a4c17432
comparison
equal deleted inserted replaced
1650:cd81806b5947 1651:d0a0d96ed5d5
723 return FALSE; 723 return FALSE;
724 } 724 }
725 725
726 void scr_InitLocaleCharSet(void) 726 void scr_InitLocaleCharSet(void)
727 { 727 {
728 setlocale(LC_CTYPE, ""); 728 setlocale(LC_ALL, "");
729 #ifdef HAVE_LOCALCHARSET_H 729 #ifdef HAVE_LOCALCHARSET_H
730 LocaleCharSet = locale_charset(); 730 LocaleCharSet = locale_charset();
731 #else 731 #else
732 LocaleCharSet = nl_langinfo(CODESET); 732 LocaleCharSet = nl_langinfo(CODESET);
733 #endif 733 #endif