X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=rfc2231.c;h=3e4948497b95a7f5fd6e0083cb3be6637fcf593c;hp=ad03be97696330e2b2578b5ee1ae76390ea82c2c;hb=fc9c62aae0a7ebf1ff9335e322e7c1f5d3e459d3;hpb=73bca841b76f35f85f7a8d3948f062f3d9210d8f 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;