From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61195 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus: incorrect conversion of Subject and From field from utf-8 to koi8-r Date: Wed, 19 Oct 2005 13:12:07 +0900 Organization: Emacsen advocacy group Message-ID: References: <20421354@serv3.int.kfs.ru> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129695573 14822 80.91.229.2 (19 Oct 2005 04:19:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2005 04:19:33 +0000 (UTC) Cc: Kenichi Handa , rms@gnu.org, ding@gnus.org Original-X-From: ding-owner+m9727@lists.math.uh.edu Wed Oct 19 06:19:31 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ES5Nm-0008VT-Pq for ding-account@gmane.org; Wed, 19 Oct 2005 06:17:00 +0200 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 1ES5NQ-0003mc-00; Tue, 18 Oct 2005 23:16:32 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ES5JN-0003mU-00 for ding@lists.math.uh.edu; Tue, 18 Oct 2005 23:12:21 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1ES5JK-0000tB-CO for ding@lists.math.uh.edu; Tue, 18 Oct 2005 23:12:21 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1ES5JJ-000172-00 for ; Wed, 19 Oct 2005 06:12:17 +0200 Original-Received: from localhost ([127.0.0.1]:55597) by washington.hostforweb.net with esmtpa (Exim 4.52) id 1ES5JW-00017f-1z; Tue, 18 Oct 2005 23:12:30 -0500 Original-To: Boris Samorodov 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.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:il1LsI4pXr75FoGv9bnx0Z5wCeE= X-Hashcash: 1:20:051019:bsam@ipt.ru::ojiDkF1Hy/HHhc91:000000AUGs X-Hashcash: 1:20:051019:handa@m17n.org::nK2iqMKqCwNYajMS:000000000000000000000000000000000000000000000001OHB X-Hashcash: 1:20:051019:rms@gnu.org::BjSC0JImlba+bG4w:00000042pK X-Hashcash: 1:20:051019:ding@gnus.org::vNnhmP6YuuimPS2E:00003mbI 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 - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61195 Archived-At: >>>>> In <20421354@serv3.int.kfs.ru> Boris Samorodov wrote: > This is to confirm that the latest revision 7.43 from HEAD > for gnus/lisp/rfc2047.el from gnus cvs is fine with Subject and From > fields. > Thank you all who helped to investigate and unbreak the case! You're welcome. After discussing with well-informed people in Japan, we came to recognize such an encoding (to divide encoded text in the place of not character boundaries) violates RFC2047, the section 5. Here's an extract: Each 'encoded-word' MUST represent an integral number of characters. A multi-octet character may not be split across adjacent 'encoded- word's. It doesn't mean to prohibit to try to decode them though, and that Gnus does it would be nice. > Should I confirm the success story anywhere else (maybe > bug-gnu-emacs@)? There's no necessity, maybe. BTW, I realized that that fix was insufficient. For instance, it will display binary garbage if the charset specified in the encoded-word is unknown. So, I will CVS commit the new code after a while. Regards,