call setlocale(LC_ALL, ) once in fe-text/irssi.c and not everytime recode_get_charset() is called in recode.c

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3703 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Valentin Batz 2005-01-12 16:40:44 +00:00 committed by vb
commit b5f93b6164
2 changed files with 5 additions and 5 deletions

View file

@ -362,6 +362,10 @@ int main(int argc, char **argv)
of UTF-8 currently.. */
setlocale(LC_CTYPE, "");
/* to get the users's charset with g_get_charset() properly you have
to call setlocale(LC_ALL, "") aswell */
setlocale(LC_ALL, "");
textui_init();
args_register(options);
args_execute(argc, argv);