unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Cc: lechtej@uni-muenster.de
Subject: Re: rfc2047.el and mail-utils.el do not follow RFC 2047
Date: Thu, 24 Jun 2004 18:10:02 +0200	[thread overview]
Message-ID: <v9fz8l6ip1.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: m2zn6typqh.fsf@pcwi4002.uni-muenster.de

Jens Lechtenboerger <lechtej@uni-muenster.de> writes:

> 1. Evaluating (rfc2047-encode-message-header) on the line:
> To: "Lechtenbörger, Jens" <jens@foo.bar>
>
> produces:
> To: =?iso-8859-15?q?Lechtenb=F6rger,_Jens?= <jens@foo.bar>
>
> 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\" <jens@foo.bar>")
	 (rfc2047-encode-message-header)
	 (buffer-string))
"To: =?iso-8859-1?q?Lechtenb=F6rger=2C_Jens?= <jens@foo.bar>"

> 2. Evaluating
> (mail-strip-quoted-names
>     "=?iso-8859-15?q?Lechtenb=F6rger,_Jens?= <jens@foo.bar>")
> produces
> "=?iso-8859-15?q?Lechtenb=F6rger,jens@foo.bar"
> (instead of "jens@foo.bar").
> 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	other threads:[~2004-06-24 16:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-24 14:50 rfc2047.el and mail-utils.el do not follow RFC 2047 Jens Lechtenboerger
2004-06-24 16:10 ` Reiner Steib [this message]

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=v9fz8l6ip1.fsf@marauder.physik.uni-ulm.de \
    --to=4.uce.03.r.s@nurfuerspam.de \
    --cc=lechtej@uni-muenster.de \
    --cc=reiner.steib@gmx.de \
    /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).