unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexandre Duret-Lutz <adl@lrde.epita.fr>
To: 44307@debbugs.gnu.org
Subject: bug#44307: 27.1; UTF-8 parts transferred as 8bit in multipart messages fail to decode
Date: Sat, 02 Jan 2021 21:26:30 +0100	[thread overview]
Message-ID: <8735zj6q6h.fsf@goulash.lrde.epita.fr> (raw)
In-Reply-To: <wwublglceet.fsf@chaotikum.eu>

Hi,

I'm back to using Gnus after a 15-year hiatus, and this is the first
issue I've noticed in several emails.

I am able to reproduce it with "emacs -Q" (version 27.1 from Debian) as
follows:

1. manually copy the uuencoded mail from
   https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44307#5
   in example.uu
2. sed -i 's/ <at> /@/g' example.uu
3. uudecode example.uu
4. emacs -Q
5. M-x gnus        (ignoring any error)
6. G f example.eml
7. press RET on nndoc+/path/to/example.eml:example.eml
8. press RET on top-level message "<* alternative> text"

Doing so renders the html part by default, but displays "dddd" instead
of "ääää".

Clicking inside this message on the "Attachement: [2. text/plain]"
button inserts "\344\344\344\344".   I.e., that's
the Latin-1 version of "ääää".  (M-x describe-char on these say that they
are "not encodable by coding system utf-8-unix")

Typing "C latin-1" on the "[2. text/plain]" button 
displays the characters correctly.

Typing "C-u g" to display the raw article shows the utf-8 encoded
characters as \303\244\303\244\303\244\303\244.

So my understanding is that the mime parts, which are utf-8 encoded,
get somehow converted to latin-1 before being displayed as utf-8.

-- 
Alexandre Duret-Lutz





  parent reply	other threads:[~2021-01-02 20:26 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29 14:09 bug#44307: 27.1; UTF-8 parts transferred as 8bit in multipart messages fail to decode Thomas Schneider
2020-10-30 13:10 ` Lars Ingebrigtsen
2020-10-30 13:26   ` Andreas Schwab
2020-10-30 13:35     ` Lars Ingebrigtsen
2020-10-30 14:53       ` Andreas Schwab
2020-11-01 12:10         ` Lars Ingebrigtsen
2020-11-01 12:15           ` Andreas Schwab
2020-11-02 14:56             ` Lars Ingebrigtsen
2020-10-30 13:28 ` Andreas Schwab
2021-01-02 20:26 ` Alexandre Duret-Lutz [this message]
2021-01-04 21:54   ` Alexandre Duret-Lutz
2021-01-05 10:00     ` Alexandre Duret-Lutz
2021-01-07 13:43       ` Lars Ingebrigtsen
2021-01-05  9:30   ` Lars Ingebrigtsen
2021-01-05 10:07     ` Alexandre Duret-Lutz
2021-01-05 10:14       ` Lars Ingebrigtsen
2021-01-05 11:17         ` Alexandre Duret-Lutz
2021-01-07 14:14       ` Lars Ingebrigtsen
2021-01-07 16:06         ` Alexandre Duret-Lutz
2021-01-07 16:10           ` Lars Ingebrigtsen
2021-01-07 17:07             ` Alexandre Duret-Lutz
2021-01-10 12:27           ` Lars Ingebrigtsen
2021-01-10 14:02             ` Alexandre Duret-Lutz
2021-01-10 14:11               ` Lars Ingebrigtsen
2021-01-10 14:48                 ` Alexandre Duret-Lutz
2021-01-10 15:21                   ` Alexandre Duret-Lutz
2021-01-11 14:28                     ` Lars Ingebrigtsen
2021-02-02 11:36                       ` Alexandre Duret-Lutz
2021-02-04  8:04                         ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=8735zj6q6h.fsf@goulash.lrde.epita.fr \
    --to=adl@lrde.epita.fr \
    --cc=44307@debbugs.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).