diff --git a/mbsebbs/email.c b/mbsebbs/email.c index 37731b08..218ec6e8 100644 --- a/mbsebbs/email.c +++ b/mbsebbs/email.c @@ -697,7 +697,10 @@ void Reply_Email(int IsReply) Enter(1); colour(CFG.HiliteF, CFG.HiliteB); - sLine(); + if (utf8) + chartran_init((char *)"CP437", (char *)"UTF-8", 'B'); + PUTSTR(chartran(sLine_str())); + chartran_close(); Enter(1); for (i = 0; i < (TEXTBUFSIZE + 1); i++) diff --git a/mbsebbs/mail.c b/mbsebbs/mail.c index e77128e4..a472c3d2 100644 --- a/mbsebbs/mail.c +++ b/mbsebbs/mail.c @@ -1567,7 +1567,10 @@ void Reply_Msg(int IsReply) Enter(1); colour(CFG.HiliteF, CFG.HiliteB); - sLine(); + if (utf8) + chartran_init((char *)"CP437", (char *)"UTF-8", 'B'); + PUTSTR(chartran(sLine_str())); + chartran_close(); for (i = 0; i < (TEXTBUFSIZE + 1); i++) Message[i] = (char *) calloc(MAX_LINE_LENGTH +1, sizeof(char)); diff --git a/mbsebbs/oneline.c b/mbsebbs/oneline.c index 2975c3d9..e62f65b8 100644 --- a/mbsebbs/oneline.c +++ b/mbsebbs/oneline.c @@ -268,7 +268,10 @@ void Oneliner_List() } Enter(1); colour(GREEN, BLACK); - sLine(); + if (utf8) + chartran_init((char *)"CP437", (char *)"UTF-8", 'B'); + PUTSTR(chartran(sLine_str())); + chartran_close(); while (fread(&ol, olhdr.recsize, 1, pOneline) == 1) { if ((SYSOP == TRUE) || (exitinfo.Security.level >= CFG.sysop_access)) {