From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.bugs Subject: Re: bad rfc2047 encoding Date: Thu, 22 Aug 2002 19:48:52 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030038482 31903 127.0.0.1 (22 Aug 2002 17:48:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 22 Aug 2002 17:48:02 +0000 (UTC) Cc: bugs@gnus.org, bug-gnu-emacs@gnu.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 17hw3r-0008IP-00 for ; Thu, 22 Aug 2002 19:47:59 +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 17hw53-0007MH-00; Thu, 22 Aug 2002 13:49:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17hw4o-0007Lb-00 for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2002 13:48:58 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17hw4m-0007LN-00 for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2002 13:48:58 -0400 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 17hw4m-0007LE-00 for bug-gnu-emacs@gnu.org; Thu, 22 Aug 2002 13:48:56 -0400 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.5/8.12.5) with ESMTP id g7MHmqNJ024042; Thu, 22 Aug 2002 19:48:52 +0200 Original-To: Dave Love X-Hashcash: 0:020822:d.love@dl.ac.uk:3c5dbedf7d3b7e71 X-Hashcash: 0:020822:bugs@gnus.org:9ac89e9162f71bfa X-Hashcash: 0:020822:bug-gnu-emacs@gnu.org:17a8a966d7944c33 In-Reply-To: (Dave Love's message of "22 Aug 2002 12:47:03 +0100") Original-Lines: 26 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) 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:3282 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3282 Dave Love writes: > Simon Josefsson writes: > >> "To: \"=?iso-8859-1?q?Gro=DFjohann?=, K (Kai)\" >> >> " > > Well, that's invalid too. Ouch, bad. >> This is with EMACS_21_1_RC. > > I was using your patch (in a non-vanilla 21.2). It looks as though > some of the insufficiently-tested changes I made for Emacs 22 were > responsible for the differences, sorry. I think that just indicates > in another way that rfc2047.el doesn't DTRT. I guess the use of Emacs > charsets saves it from going badly wrong in this case by chance, but > it's not generally right. It's coding systems which are > (more-or-less) equivalent to MIME charsets and need to be checked, not > Emacs charsets. Yes. It would be nice to have it do the right thing, but it seem to require at least a fairly working rfc 2822 parser/decoder. Lots of work, I think. Anyone want to work on it?