unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2015: 23.0.60; Rmail decodes messages incorrectly
@ 2009-01-31 15:37 Chong Yidong
  0 siblings, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2009-01-31 15:37 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 2015

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






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-07 18:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <u3aeqt7p5.fsf@gnu.org>
2009-01-24 11:29 ` bug#2015: 23.0.60; Rmail decodes messages incorrectly Eli Zaretskii
2009-02-07 18:45   ` bug#2015: marked as done (23.0.60; Rmail decodes messages incorrectly) Emacs bug Tracking System
2009-01-31 15:37 bug#2015: 23.0.60; Rmail decodes messages incorrectly Chong Yidong

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).