[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorrect rendering of accented characters in HTML e-mail (Gnus)
From: |
Garjola Dindi |
Subject: |
Re: Incorrect rendering of accented characters in HTML e-mail (Gnus) |
Date: |
Mon, 12 Oct 2020 14:01:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Sun 11-Oct-2020 at 17:26:33 +02, Damien Collard
<damien.collard@distfp.net> wrote:
> I have the problem on some utf-8 non-multipart messages, not all of
> them. It looks like only those that have format=flowed exhibit the
> problem, but disabling it (by setting mm-fill-flowed to nil) doesn't
> change anything.
You are right about the fact that not all utf-8 have the problem, but I
have some without the format=flowed that do have the issue.
So I don't see a common pattern.
>
> On Sun, Oct 11 2020, Garjola Dindi wrote:
>
>> Sorry for the previous post. Long lines with multipart messed up the
>> nntp post. Here it goes again.
>>
>> On Sun 11-Oct-2020 at 09:15:11 +02, Damien Collard
>> <damien.collard@distfp.net> wrote:
>>> Hello,
>>>
>>> On Sat, Oct 10 2020, Garjola Dindi wrote:
>>>
>>>> I have also noticed that the I also have the same issue with non html
>>>> e-mails. I thought they were html, but they are just multipart.
>>>
>>> I have the same problem -- for some e-mails, not all of them.
>>
>> I confirm that this does not happen with all e-mails. Only for messages
>> with a "multipart" enclosure but not all of them. A quick check tells me
>> that the problem appears with
>>
>> ,----
>> | < #multipart type=mixed>
>> | < #part type=text/plain format="flowed" charset="utf-8"
>> | disposition=inline nofile=yes>
>> `----
>>
>> and
>>
>> ,----
>> | < #multipart type=alternative>
>> | < #part type=text/plain format="flowed" charset="utf-8"
>> | disposition=inline nofile=yes>
>> `----
>>
>> But not for this one
>>
>> ,----
>> | < #multipart type=alternative>
>> | < #part type=text/plain charset="iso-8859-1" disposition=inline
>> | nofile=yes>
>> `----
>>
>> So I guess that the problem is the utf-8 encoding.
>>
>>>
>>> Using nnmaildir and offlineimap like you are.
>>>
>>> I *think* I started having this problem after upgrading to Emacs 27,
>>> but I'm not sure...
>>>
>>
>> I am on emacs git master branch and I have been having the problem for
>> several months now, so this is coherent with your guess.
>>
>>> I'll post here again if I find a solution. In the meantime, I have
>>> adopted your "dummy edit" function.
>>
>> What I understand is that:
>> 1. html is not the issue, but the multipart, since the text/plain part
>> also gets incorrectly encoded
>> 2. only happens when charset is utf-8 and not iso-8859-1
>> 3. only happens with nnmaildir, since I have used nnimap to download the
>> same messages from the same server and they are correctly displayed
>> by Gnus
>> 4. since the «dummy edit» works, this means that the issue is corrected
>> when emacs opens the message in edit mode
>>
>> Thanks for any feedback.
--
- Re: Incorrect rendering of accented characters in HTML e-mail (Gnus), (continued)
- Re: Incorrect rendering of accented characters in HTML e-mail (Gnus), Damien Collard, 2020/10/11
- Re: Incorrect rendering of accented characters in HTML e-mail (Gnus), Garjola Dindi, 2020/10/11
- Re: Incorrect rendering of accented characters in HTML e-mail (Gnus), Garjola Dindi, 2020/10/11
- Re: Incorrect rendering of accented characters in HTML e-mail (Gnus), Damien Collard, 2020/10/11
- Re: Incorrect rendering of accented characters in HTML e-mail (Gnus),
Garjola Dindi <=