From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.bugs Subject: bad rfc2047 encoding Date: 15 Aug 2002 23:00:41 +0100 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1029448825 4172 127.0.0.1 (15 Aug 2002 22:00:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 15 Aug 2002 22:00:25 +0000 (UTC) Cc: bugs@gnus.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17fSfH-000153-00 for ; Fri, 16 Aug 2002 00:00:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17fSgG-0001lJ-00; Thu, 15 Aug 2002 18:01:24 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17fSfc-0001eT-00 for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2002 18:00:44 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17fSfa-0001e1-00 for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2002 18:00:43 -0400 Original-Received: from albion.dl.ac.uk ([148.79.80.39]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17fSfa-0001dw-00 for bug-gnu-emacs@gnu.org; Thu, 15 Aug 2002 18:00:42 -0400 Original-Received: from fx by albion.dl.ac.uk with local (Exim 3.35 #1 (Debian)) id 17fSfZ-0004D2-00; Thu, 15 Aug 2002 23:00:41 +0100 Original-To: bug-gnu-emacs@gnu.org Original-Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3227 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3227 In Emacs 21.2, I see (with-temp-buffer (insert "To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) ") (rfc2047-encode-message-header) (buffer-string)) =3D> "To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =3D?iso-8859-1?q?Gro=3D= DFjohann)?=3D " which is an invalid encoding according to =A75 of rfc2047, and Exim refuses to deliver the result: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =3D?iso-8859-1?q?Gro=3DDFjohann)?= =3D: malformed address: ?=3D may not follow Kai.Grossjohann@CS.Uni-Dortmund= .DE (Kai =3D?iso-8859-1?q?Gro=3DDFjohann) I'm surprised this hasn't been noticed and fixed before, but I think it needs fixing for 21.3 by someone more familiar with the standards and the logic in rfc2047.el.