From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67215 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: Bad header deconding in supersede Date: Fri, 08 Aug 2008 20:11:37 +0900 Organization: Emacsen advocacy group Message-ID: References: <86vdyf524k.fsf@nez-casse.depot.rail.eu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218194035 20699 80.91.229.12 (8 Aug 2008 11:13:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2008 11:13:55 +0000 (UTC) Cc: bugs@gnus.org, ding@gnus.org To: Erwan David Original-X-From: ding-owner+M15669@lists.math.uh.edu Fri Aug 08 13:14:46 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1KRPvc-0001bR-3Q for ding-account@gmane.org; Fri, 08 Aug 2008 13:14:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1KRPtj-00047o-C2; Fri, 08 Aug 2008 06:12:43 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1KRPti-00047X-2K for ding@lists.math.uh.edu; Fri, 08 Aug 2008 06:12:42 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1KRPtd-0005Bv-RS for ding@lists.math.uh.edu; Fri, 08 Aug 2008 06:12:42 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1KRPtc-00005I-00; Fri, 08 Aug 2008 13:12:36 +0200 Original-Received: from localhost ([127.0.0.1]:60857) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1KRPso-0005as-T5; Fri, 08 Aug 2008 06:11:47 -0500 X-Hashcash: 1:20:080808:erwan@rail.eu.org::Nk2c/YsW5IBiplxE:00000000000000000000000000000000000000000000AQOD X-Hashcash: 1:20:080808:bugs@gnus.org::6P6bhapCAUgtMaL9:000031Eo X-Hashcash: 1:20:080808:ding@gnus.org::Quy1+aD+rQBfwwDR:00005uOq 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.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:MaJurC9GGSj8q9b9zR/4ZHmKUfM= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.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: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67215 Archived-At: >>>>> Katsumi Yamaoka wrote: >>>>>> Erwan David wrote: >> No Gnus v0.11 >> GNU Emacs 22.2.1 (x86_64-pc-freebsd, X toolkit, Xaw3d scroll bars) >> of 2008-06-09 on nez-casse.depot.rail.eu.org >> 200 news-3.free.fr (4-2) NNRP Service Ready - newsmaster@proxad.net (posting ok) >> When I supersede an article, whose headers where sent in ISO-8859-1, they >> are presented as is, thus as \351 since it is not a valid utf-8 >> character. This leads to wrong encoding in superseded message header >> when I do not catch this. >> There is no problem in the body treatment, only headers. > There's a similar problem in `gnus-summary-resend-message-edit' > and the patch attached below seems to solve it. However I don't > want to install it now because it has to be verified further and > the next Emacs (containing Gnus v5.13, a.k.a. No Gnus) release > is around the corner. So I'd add it to my TODO list instead. I found a better and reasonable way to fix the problem, and installed in the Gnus CVS trunk. That it does is similar to what Gnus does when reading articles. Namely it decodes non- MIME encoded text[1] in the header by `gnus-newsgroup-charset'. I believe this is the right bug fix. Regards, [1] Non-MIME encoded text will be found in articles posted to certain newsgroups where RFC2047 encoding is unwelcome. In Gnus, `gnus-group-posting-charset-alist' specifies such newsgroups and charsets.