From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64795 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: long encoded filename in mime part is truncated and not decoded Date: Tue, 12 Jun 2007 13:27:23 +0900 Organization: Emacsen advocacy group Message-ID: References: <873b0x3nxi.fsf@roddy.4407.kankyo-u.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp X-Trace: sea.gmane.org 1181624791 2706 80.91.229.12 (12 Jun 2007 05:06:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2007 05:06:31 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13306@lists.math.uh.edu Tue Jun 12 07:06:30 2007 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 1HxyaJ-0004YC-2B for ding-account@gmane.org; Tue, 12 Jun 2007 07:06:27 +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 1HxyZa-00029f-F0; Tue, 12 Jun 2007 00:05:42 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HxyZX-00029J-HV for ding@lists.math.uh.edu; Tue, 12 Jun 2007 00:05:39 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1HxyZW-0004qn-M1 for ding@lists.math.uh.edu; Tue, 12 Jun 2007 00:05:39 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HxyZV-0003sR-00 for ; Tue, 12 Jun 2007 07:05:37 +0200 Original-Received: from yamaoka by orlando.hostforweb.net with local (Exim 4.63) (envelope-from ) id 1HxyYx-0002jF-CE for ding@gnus.org; Tue, 12 Jun 2007 00:05:03 -0500 X-Hashcash: 1:20:070612:ding@gnus.org::Msbs1bm3RNlFWNST:0000BhSr 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.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:HuMCl29I52m4fej108FSkcGkZZo= Original-Lines: 42 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 - [32213 32215] / [47 12] X-AntiAbuse: Sender Address Domain - orlando.hostforweb.net X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -1.7 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64795 Archived-At: >>>>> In <873b0x3nxi.fsf@roddy.4407.kankyo-u.ac.jp> >>>>> NAKAJI Hiroyuki wrote: > Japanese people love to name files using Japanese characters and the > filename is usually looooooooooooooooooooooooooooooooooooooong. And when > a user attached this long-named file, some mail clients truncates the > excoded filename. > For example, when user uses > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ja-JP; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) > and such a long-named file is attached as mime-multipart, in article > buffer it is shown like this: > [3. application/msword; 44新規学習ニーズ対応プログラム支援経費=?ISO-2022-JP?B?WxskQjpOQnJAKRsoQl0bJEIhS]... > and then, when I typed 'o' at this part, the file is saved as > 44新規学習ニーズ対応プログラム支援経費=?ISO-2022-JP?B?WxskQjpOQnJAKRsoQl0bJEIhS Does such a mailer (i.e., Netscape 7.1) display and extract it correctly? If so, Gnus will have to somehow do it, too. I don't believe any mailer always can do it, though. Anyway, he probably sends such ones not only to his men but also to his bosses, so he will lose his post sooner or later. It's only a matter of time. ;-p > I don't like it. I want the file to be saved as > 44新規学習ニーズ対応プログラム支援経費[採択制] > Is it possible to decode this kind of truncated loooong filename in > Gnus? I got "44新規学習ニーズ対応プログラム支援経費[採択制]" with adding > "=?=" after "...EIhS". > Of cource, I don't mind adding ".doc" after "...[採択制]" by hand when I > save this part. Although efforts to fix it might all go for nothing even if the problem is simply that exactly the "=?=" is always lacking, could you show the raw header of the part in question? Regards,