[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RMAIL mis-unquoting qp

From: Eli Zaretskii
Subject: Re: RMAIL mis-unquoting qp
Date: 11 Mar 2004 08:15:03 +0200

> Date: Thu, 11 Mar 2004 11:40:10 +0900 (JST)
> From: Kenichi Handa <address@hidden>
> > There's a subtle bug in rmail-convert-to-babyl-format: if the message
> > is sent in quoted-printable encoding, some of the qp-encoded
> > characters aren't decoded correctly (instead of a single character
> > from each "=XX" group, you get two characters from some of them).
> > I think this began to happen since rmail-decode-quoted-printable was
> > replaced with mail-unquote-printable-region (RMAIL calls
> > mail-unquote-printable-region to decode qp).
> It seems that RMS's this change is to fix that.
> 2004-03-04  Richard M. Stallman  <address@hidden>
>       * mail/rmail.el (rmail-convert-to-babyl-format):
>       Specify t for UNIBYTE when calling mail-unquote-printable-region.
>       * mail/mail-utils.el (mail-unquote-printable-region):
>       New arg UNIBYTE.

Thanks, I saw that change being installed a day after I sent the bug
report.  However, even with the latest CVS I sometimes see bad results
from mail-unquote-printable-region.  I will try to investigate and
come up with a patch or a test case.

Btw, when is it useful to invoke mail-unquote-printable-region with
UNIBYTE bound to nil?  I think never, so we might as well make it
always use (insert char 1) to insert the unquoted character and
simplify the interface as a side effect.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]