From: Vsevolod Stakhov Date: Thu, 26 Jul 2018 16:18:52 +0000 (+0100) Subject: [Fix] Replace bad unicode sequences instead of stopping on them X-Git-Tag: 1.7.9~32 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=db3d0cb4b994558f63a28011a13a9e08d5f6d1d8;p=rspamd.git [Fix] Replace bad unicode sequences instead of stopping on them Issue: #2373 --- diff --git a/src/libmime/mime_encoding.c b/src/libmime/mime_encoding.c index 7a6d4a3cb..c316b264c 100644 --- a/src/libmime/mime_encoding.c +++ b/src/libmime/mime_encoding.c @@ -82,7 +82,7 @@ rspamd_mime_get_converter_cached (const gchar *enc, UErrorCode *err) if (conv != NULL) { ucnv_setToUCallBack (conv, UCNV_TO_U_CALLBACK_SUBSTITUTE, - UCNV_SUB_STOP_ON_ILLEGAL, + NULL, NULL, NULL, err);