From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71269 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: attachment options? Date: Tue, 21 Sep 2010 10:14:23 +0800 Message-ID: <87zkvblu68.fsf@ericabrahamsen.net> References: <87tylozs9q.fsf@ericabrahamsen.net> <87fwx62yee.fsf@ericabrahamsen.net> <84bp7ubcb1.fsf@davestoy.home> <87mxre1b39.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1285035305 8816 80.91.229.12 (21 Sep 2010 02:15:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Sep 2010 02:15:05 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19642@lists.math.uh.edu Tue Sep 21 04:15:05 2010 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.69) (envelope-from ) id 1OxsNs-0005ZV-F9 for ding-account@gmane.org; Tue, 21 Sep 2010 04:15:04 +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 1OxsNR-0006Ke-PD; Mon, 20 Sep 2010 21:14:37 -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 1OxsNO-0006KO-Qj for ding@lists.math.uh.edu; Mon, 20 Sep 2010 21:14:34 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OxsNN-0000xC-ER for ding@lists.math.uh.edu; Mon, 20 Sep 2010 21:14:34 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OxsNM-0004DM-00 for ; Tue, 21 Sep 2010 04:14:32 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OxsNM-0005Oq-DX for ding@gnus.org; Tue, 21 Sep 2010 04:14:32 +0200 Original-Received: from 123.121.217.25 ([123.121.217.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Sep 2010 04:14:32 +0200 Original-Received: from eric by 123.121.217.25 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Sep 2010 04:14:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 123.121.217.25 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:s5ZwcHpKZjR9bpuQuRqySbhKuCM= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71269 On Sun, Sep 19 2010, Lars Magne Ingebrigtsen wrote: > Eric Abrahamsen writes: > >> Content-Disposition: attachment; filename="=?UTF-8?B?54i25Lqy5LygLmRvYw==?=" > > [...] > >> Content-Disposition: attachment; >> filename*0*=utf-8''%e8%ae%a9%e6%9b%b4%e5%a4%9a%e7%9a%84%e4%ba%ba%e7%9c%8b; >> filename*1*=%e5%88%b0%e7%81%ab%e8%bd%a6.doc > > This has to be the culprit. Gnus uses RFC2231 encoding on file names: > > (rfc2231-encode-string "filename" "héllo") > => "filename*=iso-8859-1''h%e9llo" > > While Gmail just RFC2047-encodes the file name. > > I think Gnus should just do the same. I don't think RFC2231 encoding > ever took off. I'll check in a fix. Just noting that this did the trick, Amazon recognizes attachments properly now…