utf-8 for mail reply screen
This commit is contained in:
parent
c85c4b901d
commit
6edc1d3da8
@ -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++)
|
||||
|
@ -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));
|
||||
|
@ -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)) {
|
||||
|
Reference in New Issue
Block a user