From: Chong Yidong <cyd@stupidchicken.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 2015@emacsbugs.donarmstrong.com
Subject: bug#2015: 23.0.60; Rmail decodes messages incorrectly
Date: Sat, 31 Jan 2009 10:37:16 -0500 [thread overview]
Message-ID: <878wor32s3.fsf@cyd.mit.edu> (raw)
> Rmail does not correctly decode quoted-printable messages. For
> example, a message that has these headers:
>
> Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes;
> format=flowed
> Content-Transfer-Encoding: quoted-printable
>
> Shows a Windows-1252 character \226 as an octal escape, and says that
> the buffer's encoding is undecided-unix.
>
> In addition, Rmail before mbox merge would rewrite
> Content-Transfer-Encoding header into "8-bit", when it decoded the
> quoted-printable encoding, but the current Rmail does not.
IIUC, the new Rmail decodes quoted-printable messages during message
display, leaving the original message unchanged in the Rmail file.
That's why it does not change Content-Transfer-Encoding to "8bit".
I don't see why Rmail would fail to correctly decode a message with the
headers you provided. Here's a shot in the dark: if you add the line
(setq last-coding-system-used nil)
to line 2564 of rmail.el, just before the call to rmail-decode-region,
is there any improvement?
next reply other threads:[~2009-01-31 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-31 15:37 Chong Yidong [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-24 11:29 bug#2015: 23.0.60; Rmail decodes messages incorrectly Eli Zaretskii
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=878wor32s3.fsf@cyd.mit.edu \
--to=cyd@stupidchicken.com \
--cc=2015@emacsbugs.donarmstrong.com \
--cc=eliz@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).