From d8d47ef37f6efb290472ae587cefa3df22bd92dc Mon Sep 17 00:00:00 2001 From: Valentin Batz Date: Wed, 12 Oct 2005 18:22:14 +0000 Subject: fixed recoding of own messages. recode after expand_emphasis remove the redundant call to setlocale(LC_CTYPE, ) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4038 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/irssi.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/fe-text') diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c index 3515fc57..e685608f 100644 --- a/src/fe-text/irssi.c +++ b/src/fe-text/irssi.c @@ -359,13 +359,12 @@ int main(int argc, char **argv) before t his call. locales aren't actually used for anything else than autodetection - of UTF-8 currently.. */ - setlocale(LC_CTYPE, ""); + of UTF-8 currently.. - /* to get the users's charset with g_get_charset() properly you have - to call setlocale(LC_ALL, "") aswell */ + furthermore to get the users's charset with g_get_charset() properly + you have to call setlocale(LC_ALL, "") */ setlocale(LC_ALL, ""); - + textui_init(); args_register(options); args_execute(argc, argv); -- cgit v1.2.3