From 501ed89a2fc50e23e9bea1fa40ab99d156f7c5b5 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Fri, 2 Mar 2007 18:13:10 +0000 Subject: [PATCH] Restored setlocale --- mbsebbs/user.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mbsebbs/user.c b/mbsebbs/user.c index 30e508e6..67c4a08e 100644 --- a/mbsebbs/user.c +++ b/mbsebbs/user.c @@ -466,6 +466,9 @@ void user(void) Chg_Charset(); } + setlocale(LC_CTYPE, getlocale(exitinfo.Charset)); + Syslog('b', "setlocale(LC_CTYPE, NULL) returns \"%s\"", printable(setlocale(LC_CTYPE, NULL), 0)); + GetLastUser(); StartTime = xstrcpy(GetLocalHM()); ChangeHomeDir(exitinfo.Name, exitinfo.Email);