[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: |
Sat, 10 Oct 2020 17:53:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Sat 10-Oct-2020 at 16:44:26 +02, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Garjola Dindi <garjola@garjola.net>
>> Date: Sat, 10 Oct 2020 16:35:05 +0200
>>
>> >> The html part of the e-mails contains
>> >>
>> >> ,----
>> >> | < #part type=text/plain format="flowed" charset="utf-8"
>> >> | disposition=inline nofile=yes>
>> >> `----
>> >>
>> >> so I guess that the html renderer should pick it up. I have tested shr,
>> >> gnus-w3m and w3m and I always get the same result.
>> >>
>> >> I would be grateful if somebody could help me understand what happens.
>> >
>> > How does the character appear in the original HTML?
>>
>> Thanks for your quick response.
>>
>> I don't know if I am inspecting the message correctly, because when I
>> enter the edit mode, all characters appear OK. Therefore, I am not sure
>> if I an seeing the original html.
>
> Can you use some other tool, like wget or curl, to download the text
> as it comes from the server?
>
I have these tools, but I don't know how to use them to get the text
from the imap server. Since I am using offlineimap, I have the file on
disk and I can compare it before and after the dummy edit I do in Gnus.
For instance, before Gnus reads the message, I have:
,----
| Content-Type: multipart/alternative;
boundary="=-1601233669-108915-4573-6815-27-="
| MIME-Version: 1.0
|
|
| --=-1601233669-108915-4573-6815-27-=
| Content-Type: text/plain; charset=utf-8; format=flowed
| Content-Transfer-Encoding: 8bit
|
|
<https://unregardstoicien.com/2020/06/20/entretien-avec-stoa-gallica-elen-buzare-et-jerome-robin/>
|
| Elen Buzaré et Jérôme Robin sont membres fondateurs de l'association
| Stoa Gallica, la première association francophone de stoïcisme, fondée
| le 15 juillet 2017. Ils ont chaleureusement accepté de répondre à
| quelques unes de mes questions.
| --
`----
and after Gnus dummy edit, I have:
,----
| Content-Type: multipart/alternative; boundary="=-=-="
|
| --=-=-=
| Content-Type: text/plain; charset=utf-8; format=flowed
| Content-Disposition: inline
| Content-Transfer-Encoding: quoted-printable
|
| <https://unregardstoicien.com/2020/06/20/entretien-avec-stoa-gallica-elen-b=
| uzare-et-jerome-robin/>
|
| Elen Buzar=C3=A9 et J=C3=A9r=C3=B4me Robin sont membres fondateurs de l'ass=
| ociation=20
| Stoa Gallica, la premi=C3=A8re association francophone de sto=C3=AFcisme, f=
| ond=C3=A9e=20
| le 15 juillet 2017. Ils ont chaleureusement accept=C3=A9 de r=C3=A9pondre =
| =C3=A0=20
| quelques unes de mes questions.
| --=20
`----
>> I have also noticed that the I also have the same issue with non html
>> e-mails.
>
> "Same issue" in what sense? Is just é replaced by i, or does
> something like that happen with every non-ASCII letter?
>
The characters are incorrectly displayed. In html I have the é -> i
replacement. In plain text, I have the é replaced by \351.
>> For instance, here is what I see in the article buffer:
>>
>> ,----
>> | \311lodie, qui a rejoint l'\351quipe podcast, me dit que sa soeur, qui a
>> une
>> | formation th\351\342trale, serait disponible ponctuellement pour faire des
>> | voix pour des lectures. Pour le moment on a jamais eu ce besoin mais \347a
>> | peut ouvrir des perspectives.
>> `----
>>
>> (I have replaced the non printable chars with \xxx)
>
> What do you mean by "non printable" here? Do they look like octal
> escapes or do they look like something else?
>
When sending the message to the list, Gnus said that these where non
printable characters and I replaced them by the sequence of individual
chars that read as the octal escapes.
> Btw, the above is not UTF-8 encoding, it's Latin-1 encoding.
>
> Does the problem go away if you start Emacs as "emacs -Q"?
I have tried, but with "emacs -Q", Gnus does not find the nnmaildir
groups. So I don't know how to proceed.
Thanks again.
--
- Incorrect rendering of accented characters in HTML e-mail (Gnus), Garjola Dindi, 2020/10/10
- 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, 2020/10/12