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 d5d99a7e authored by rswindell's avatar rswindell

Same as previous commit, but for EchoMail this time (!).

parent a7102068
......@@ -4918,7 +4918,7 @@ void export_echomail(const char* sub_code, const nodecfg_t* nodecfg, bool rescan
if(scfg.sub[subnum]->misc&SUB_ASCII)
charset = FIDO_CHARSET_ASCII;
if(charset == NULL) {
if(smb_msg_is_utf8(&msg))
if(smb_msg_is_utf8(&msg) || (msg.hdr.auxattr & MSG_HFIELDS_UTF8))
charset = FIDO_CHARSET_UTF8;
else if(str_is_ascii(buf))
charset = FIDO_CHARSET_ASCII;
......
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