From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61181 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 17:28:49 +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 1129366296 31679 80.91.229.2 (15 Oct 2005 08:51:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Oct 2005 08:51:36 +0000 (UTC) Cc: rms@gnu.org, bsam@ipt.ru, ding@gnus.org Original-X-From: ding-owner+m9713@lists.math.uh.edu Sat Oct 15 10:51:34 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EQhkJ-0004sH-BH for ding-account@gmane.org; Sat, 15 Oct 2005 10:50:27 +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 1EQhkA-0004Li-00; Sat, 15 Oct 2005 03:50:18 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EQhPc-0004L8-00 for ding@lists.math.uh.edu; Sat, 15 Oct 2005 03:29:04 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EQhPZ-0000rP-DY for ding@lists.math.uh.edu; Sat, 15 Oct 2005 03:29:03 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EQhPU-0002lZ-00 for ; Sat, 15 Oct 2005 10:28:56 +0200 Original-Received: from yahoobb218118002085.bbtec.net ([218.118.2.85]:64921 helo=) by washington.hostforweb.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.52) id 1EQhPT-0004dU-5b; Sat, 15 Oct 2005 03:28:55 -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.1007 (Gnus v5.10.7) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:vrEDpRsLh3Oiz/cHsNC2rkF/P/Q= 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:61181 Archived-At: >>>>> In Kenichi Handa wrote: > In article , Katsumi Yamaoka writes: >>> As I don't know the detail of rfc2047, I have not yet >>> installed it. Could you please check the code and install >>> it (or a version that does the similar thing). >> Thank you for the patch, but I'm not sure whether dividing of >> encoded words in that way is rightful. I need time to look into >> it. > Thank you. I confirmed Handa-san's patch is 99% perfect and doesn't lower the performance. However I hesitate to commit it to Gnus because I found out the `MUST NOT' phrase in RFC2047 as follows: 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? >>>>> In >>>>> "Boris B. Samorodov" wrote: > Subject: =?UTF-8?B?W2lwdC5ydSAjMTYzXSDQkNCy0YLQvtCe0YLQstC10YI6INCc0KHQmjog0KHQ?= =?UTF-8?B?nyDRgtC10YHRgg==?=