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);