[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#2015: 23.0.60; Rmail decodes messages incorrectly
From: |
Chong Yidong |
Subject: |
bug#2015: 23.0.60; Rmail decodes messages incorrectly |
Date: |
Sat, 31 Jan 2009 10:37:16 -0500 |
> 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?