Skip to content
Snippets Groups Projects
Commit 5f771982 authored by rswindell's avatar rswindell
Browse files

If a message section HEADERS.DAT has the "utf8" field set to "true", set the

MSG_HFIELDS_UTF8 flag in the auxattr header field to indicate UTF-8 encoding
of message header fields.
parent 329792a9
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,10 @@ static bool qwk_parse_header_list(sbbs_t* sbbs, ulong confnum, smbmsg_t* msg, st
return false;
}
}
if((p=iniPopKey(headers,ROOT_SECTION,"utf8",value))!=NULL) {
if(stricmp(value,"true") == 0)
msg->hdr.auxattr |= MSG_HFIELDS_UTF8;
}
if((p=iniPopKey(headers,ROOT_SECTION,"WhenWritten",value))!=NULL) {
xpDateTime_t dt=isoDateTimeStr_parse(p);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment