From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71091 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: attachment options? Date: Sun, 19 Sep 2010 22:08:00 +0800 Message-ID: <87d3s9zv0f.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 1284905310 24177 80.91.229.12 (19 Sep 2010 14:08:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Sep 2010 14:08:30 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19464@lists.math.uh.edu Sun Sep 19 16:08:29 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 1OxKZ9-0002PP-50 for ding-account@gmane.org; Sun, 19 Sep 2010 16:08: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 1OxKYv-0008Pc-QC; Sun, 19 Sep 2010 09:08:13 -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 1OxKYu-0008PK-5U for ding@lists.math.uh.edu; Sun, 19 Sep 2010 09:08:12 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OxKYt-00026R-8h for ding@lists.math.uh.edu; Sun, 19 Sep 2010 09:08:12 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OxKYs-0002Nd-00 for ; Sun, 19 Sep 2010 16:08:10 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OxKYs-0002FY-Ex for ding@gnus.org; Sun, 19 Sep 2010 16:08:10 +0200 Original-Received: from 123.121.192.206 ([123.121.192.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Sep 2010 16:08:10 +0200 Original-Received: from eric by 123.121.192.206 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Sep 2010 16:08:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 123.121.192.206 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:QHcs/NnCNhopiKaYhdTBFTPE4WU= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71091 Archived-At: 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. I didn't understand any of that besides "I'll check in a fix", but I guess that's the important part! Thanks very much… Eric