From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61182 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: Sat, 15 Oct 2005 19:06:52 +0900 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129371090 9199 80.91.229.2 (15 Oct 2005 10:11:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Oct 2005 10:11:30 +0000 (UTC) Cc: rms@gnu.org, bsam@ipt.ru, ding@gnus.org Original-X-From: ding-owner+m9715@lists.math.uh.edu Sat Oct 15 12:11:20 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EQiz6-0000sa-3i for ding-account@gmane.org; Sat, 15 Oct 2005 12:09:48 +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 1EQiz1-0004bL-00; Sat, 15 Oct 2005 05:09:43 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EQiwQ-0004bG-00 for ding@lists.math.uh.edu; Sat, 15 Oct 2005 05:07:02 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EQiwO-0005GC-SC for ding@lists.math.uh.edu; Sat, 15 Oct 2005 05:07:02 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EQiwO-0003w6-00 for ; Sat, 15 Oct 2005 12:07:00 +0200 Original-Received: from yahoobb218118002085.bbtec.net ([218.118.2.85]:65047 helo=) by washington.hostforweb.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.52) id 1EQiwN-00013q-Vw; Sat, 15 Oct 2005 05:07:00 -0500 Original-To: Kenichi Handa 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:+0FHAXc8gEHATAJ2wqsAhOy4gpM= 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: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61182 Archived-At: >>>>> In Handa-san wrote: >> 5. Use of encoded-words in message headers >> [...] >> The 'encoded-text' in an 'encoded-word' must be self-contained; >> 'encoded-text' MUST NOT be continued from one 'encoded-word' to >> another. This implies that the 'encoded-text' portion of a "B" >> 'encoded-word' will be a multiple of 4 characters long; for a "Q" >> 'encoded-word', any "=" character that appears in the 'encoded-text' >> portion will be followed by two hexadecimal characters. >> The encoded-words that Boris B. Samorodov presented comes just >> under this case. Even so, should Gnus support such encodings? >>> Subject: =?UTF-8?B?W2lwdC5ydSAjMTYzXSDQkNCy0YLQvtCe0YLQstC10YI6INCc0KHQmjog0KHQ?= =?UTF-8?B?nyDRgtC10YHRgg==?= > This example doesn't violate the above restriction. Each > 'encoded-word' is surely "multiple of 4 characters long". > Please note that the above restriction is for > 'encoded-text', not for the underlining coded character set. > So, I think the above document doesn't prohibit diviging > UTF-8 byte sequence at non-character boundary. I agree. Thank you for clarifying it. I've committed your patch to cvs.gnus.org with small modifications. It will be propagated to Emacs soon.