bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: rfc2047.el and mail-utils.el do not follow RFC 2047


From: Reiner Steib
Subject: Re: rfc2047.el and mail-utils.el do not follow RFC 2047
Date: Thu, 24 Jun 2004 18:10:02 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Jens Lechtenboerger <address@hidden> writes:

> 1. Evaluating (rfc2047-encode-message-header) on the line:
> To: "Lechtenbörger, Jens" <address@hidden>
>
> produces:
> To: =?iso-8859-15?q?Lechtenb=F6rger,_Jens?= <address@hidden>
>
> Thus, the output contains a comma (","), whereas RFC 2047, Section 5
> (Use of encoded-words in message headers), rule (3) does not allow a
> comma in an encoded word.

I think this has been fixed in Gnus 5.10.6:

ELISP> gnus-version
"Gnus v5.10.6"
ELISP> (with-temp-buffer
         (insert "To: \"Lechtenbörger, Jens\" <address@hidden>")
         (rfc2047-encode-message-header)
         (buffer-string))
"To: =?iso-8859-1?q?Lechtenb=F6rger=2C_Jens?= <address@hidden>"

> 2. Evaluating
> (mail-strip-quoted-names
>     "=?iso-8859-15?q?Lechtenb=F6rger,_Jens?= <address@hidden>")
> produces
> "=?iso-8859-15?q?Lechtenb=F6rger,address@hidden"
> (instead of "address@hidden").
> Apparently, mail-strip-quoted-names does not know about
> rfc2047-encoded names (they should be treated as atoms).

Dunno about this.  (`mail-utils' is not a part of Gnus.)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/





reply via email to

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