all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Incorrect rendering of accented characters in HTML e-mail (Gnus)
Date: Sat, 10 Oct 2020 17:44:26 +0300	[thread overview]
Message-ID: <83tuv23zud.fsf@gnu.org> (raw)
In-Reply-To: <87tuv287za.fsf@pc-117-162.ovh.com> (message from Garjola Dindi on Sat, 10 Oct 2020 16:35:05 +0200)

> 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 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?

> 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?

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"?



  reply	other threads:[~2020-10-10 14:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-10 13:34 Incorrect rendering of accented characters in HTML e-mail (Gnus) Garjola Dindi
2020-10-10 14:00 ` Eli Zaretskii
2020-10-10 14:35   ` Garjola Dindi
2020-10-10 14:44     ` Eli Zaretskii [this message]
2020-10-10 15:53       ` Garjola Dindi
2020-10-10 16:12         ` Eli Zaretskii
2020-10-10 20:10           ` Garjola Dindi
2020-10-11  7:15     ` Damien Collard
2020-10-11 10:27       ` Garjola Dindi
2020-10-11 11:27       ` Garjola Dindi
2020-10-11 15:26         ` Damien Collard
2020-10-12 12:01           ` Garjola Dindi
2021-01-21  7:52           ` Garjola Dindi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83tuv23zud.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.