X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=rfc2231.c;h=3e4948497b95a7f5fd6e0083cb3be6637fcf593c;hp=ad03be97696330e2b2578b5ee1ae76390ea82c2c;hb=58fbf95737a7601f6e139e39b9f69d102c7e858d;hpb=f404a0ca916be07049af51a3022baaaaab94def6 diff --git a/rfc2231.c b/rfc2231.c index ad03be9..3e49484 100644 --- a/rfc2231.c +++ b/rfc2231.c @@ -117,6 +117,11 @@ void rfc2231_decode_parameters (PARAMETER **headp) if (option (OPTRFC2047PARAMS) && p->value && strstr (p->value, "=?")) rfc2047_decode (&p->value); + else if (!option (OPTSTRICTMIME)) + { + if (ascii_strcasecmp (AssumedCharset, "us-ascii")) + mutt_convert_nonmime_string (&p->value); + } *last = p; last = &p->next;