[tin-dev] [tin 2.6.4] snapshots
Urs Janßen
urs at tin.org
Thu Jul 4 21:58:19 CEST 2024
Urs Janßen wrote:
> New attributes option (requires ucsdet_*() from ICU >= 3.6; libicui18n):
> - undeclared_cs_guess, if set try to guess the charset of an article
> whenit has no charset given via Content-Type param.
the following patch should be applied to the snapshot
=== modified file 'src/cook.c'
--- old/src/cook.c 2024-07-04 08:39:21 +0000
+++ new/src/cook.c 2024-07-04 19:54:38 +0000
@@ -1484,7 +1484,7 @@
/*
* A regular single-body article
*/
- if (IS_PLAINTEXT(hdr->ext)) {
+ if (!hdr->mime || IS_PLAINTEXT(hdr->ext)) {
if (charset_unsupported(charset))
put_cooked(LEN, wrap_lines, C_ATTACH, _(txt_mime_unsup_charset), 0, "", charset);
else
More information about the tin-dev
mailing list