From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59830 Path: main.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Reply misinterprets Commas in encoded-words (Gnus violates RFC 2047) Date: Thu, 17 Feb 2005 21:00:14 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1108641771 25157 80.91.229.2 (17 Feb 2005 12:02:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Feb 2005 12:02:51 +0000 (UTC) Cc: =?iso-8859-1?Q?=22Wiens=2C_Stef=AAn=22?= Original-X-From: ding-owner+M8371@lists.math.uh.edu Thu Feb 17 13:02:51 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1D1kMh-00061A-8a for ding-account@gmane.org; Thu, 17 Feb 2005 13:02:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1D1kKo-0003il-00; Thu, 17 Feb 2005 06:00:42 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1D1kKd-0003id-00 for ding@lists.math.uh.edu; Thu, 17 Feb 2005 06:00:31 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1D1kKa-0001mb-SM for ding@lists.math.uh.edu; Thu, 17 Feb 2005 06:00:29 -0600 Original-Received: from washington.hostforweb.net ([69.61.11.2]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1D1kKV-0002JH-00 for ; Thu, 17 Feb 2005 13:00:23 +0100 Original-Received: from localhost ([127.0.0.1]) by washington.hostforweb.net with esmtpa (Exim 4.44) id 1D1kKT-0000gp-QE; Thu, 17 Feb 2005 07:00:22 -0500 Original-To: ding@gnus.org X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:1G9H+giIGEl1G0y0FF4zDRdOoAc= X-Hashcash: 1:20:050217:ding@gnus.org::ndCbcJ7KwgvMRX4W:00005IkQ X-Hashcash: 1:20:050217:s.wi@gmx.net::bsK1uOMqV1sBiTnq:000000pD0 X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8371@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: main.gmane.org gmane.emacs.gnus.general:59830 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59830 >>>>> In Katsumi Yamaoka wrote: > Well, it seems to be difficult to improve the > message-get-reply-headers function, etc. so that it may parse > correctly any words including commas. But it is easy to make > Gnus' rfc2047 encoder include the quotes in the encoded words > when the quoted text contains non-ASCII characters and commas. > An example of the encoded word is in the Cc header of this > message. The patch for the Gnus CVS trunk is here: > --- rfc2047.el~ 2004-11-23 21:49:55 +0000 > +++ rfc2047.el 2005-02-14 07:13:18 +0000 That might have been insufficient to explain how it is effective, sorry. Gnus parses the decoded header contents when making the reply header. If the header is as follows at that time, From: Wiens, Stef=AAn I wrote that it seems to be difficult to parse. I also wrote that it's easy to solve if what does such an encoding is only Gnus. The patch makes Gnus encode the quotes together with the full name so as to be decoded as follows: From: "Wiens, Stef=AAn" It seems that any software will be able to parse it correctly. However, if it is general that there are other softwares which do the encoding like Gnus, the patch might be useless.