Subject: Re: bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird

From: Eli Zaretskii <[email-masked]>
Date: Thu, 02 May 2019 19:50:58 +0300

> From: Andy Moreton <[email-masked]>
> Date: Thu, 02 May 2019 17:08:21 +0100
> 
> > diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el
> > index 1e1d264b99..173ebfab48 100644
> > --- a/lisp/gnus/mm-view.el
> > +++ b/lisp/gnus/mm-view.el
> > @@ -475,7 +475,7 @@ mm-display-inline-fontify
> >  		    (charset
> >  		     (mm-decode-string text charset))
> >  		    (t
> > -		     text)))
> > +		     (mm-decode-string text 'undecided))))
> >        (let ((font-lock-verbose nil)     ; font-lock is a bit too verbose.
> >  	    (enable-local-variables nil))
> >          ;; We used to set font-lock-mode-hook to nil to avoid enabling
> 
> ok, that does appear to work for the example message in the original bug
> report.

Thanks for testing.  Something according those lines will be in the
repository shortly.