diff options
author | Valentin Batz <senneth@irssi.org> | 2005-01-12 16:40:44 +0000 |
---|---|---|
committer | vb <vb@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2005-01-12 16:40:44 +0000 |
commit | b5f93b6164da0b18090e3cee01a3ac31eb96709b (patch) | |
tree | 5b5d689c7e570c5753b0ca3b92b106a6345fedba /src/fe-text/irssi.c | |
parent | f4c1b605edc2801b7d06f4117add4467119d1d05 (diff) | |
download | irssi-b5f93b6164da0b18090e3cee01a3ac31eb96709b.zip |
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
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r-- | src/fe-text/irssi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index 4064025b..3515fc57 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -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); |