[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunder
From: |
Robert Pluim |
Subject: |
bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird |
Date: |
Thu, 02 May 2019 18:29:52 +0200 |
>>>>> On Thu, 02 May 2019 18:57:23 +0300, Eli Zaretskii <eliz@gnu.org> said:
>> From: Andy Moreton <andrewjmoreton@gmail.com> Date: Thu, 02 May
>> 2019 16:43:31 +0100
>>
>> > So yes, I think Noam is right, and 'undecided' is a better
>> alternative here.
>>
>> That is arguing for the existing code, which does not work
>> correctly.
Eli> No, the existing code simply uses the undecoded string.
Eli> What I argue for is to do this:
>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
That fixes things for me, thanks (I tested against Paul's original
message).
I donʼt see any need for it to be configurable, but thatʼs up to you.
Robert
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, (continued)
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Andy Moreton, 2019/05/02
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Eli Zaretskii, 2019/05/02
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Andy Moreton, 2019/05/02
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Eli Zaretskii, 2019/05/02
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Eric Abrahamsen, 2019/05/02
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Andy Moreton, 2019/05/02
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Basil L. Contovounesios, 2019/05/02
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Eli Zaretskii, 2019/05/02
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Eli Zaretskii, 2019/05/02
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Basil L. Contovounesios, 2019/05/03
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird,
Robert Pluim <=
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Eli Zaretskii, 2019/05/02
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Noam Postavsky, 2019/05/02
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Eli Zaretskii, 2019/05/02
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Basil L. Contovounesios, 2019/05/03
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Eli Zaretskii, 2019/05/03
- bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Basil L. Contovounesios, 2019/05/03
bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Eli Zaretskii, 2019/05/01
bug#35507: Gnus mojibakifies UTF-8 text/x-patch attachments from Thunderbird, Eli Zaretskii, 2019/05/01