Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 5f771982 authored by rswindell's avatar rswindell

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
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment