From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: attachment options?
Date: Sun, 19 Sep 2010 13:50:55 +0200 [thread overview]
Message-ID: <m3bp7u0x5s.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <87mxre1b39.fsf@ericabrahamsen.net>
Eric Abrahamsen <eric@ericabrahamsen.net> 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.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
next prev parent reply other threads:[~2010-09-19 11:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-17 8:30 Eric Abrahamsen
2010-09-17 9:29 ` Steinar Bang
2010-09-19 3:41 ` Eric Abrahamsen
2010-09-19 4:13 ` Dave Goldberg
2010-09-19 6:50 ` Eric Abrahamsen
2010-09-19 11:50 ` Lars Magne Ingebrigtsen [this message]
2010-09-19 14:08 ` Eric Abrahamsen
2010-09-21 2:14 ` Eric Abrahamsen
2010-09-17 10:44 ` Frank Schmitt
2010-09-17 18:08 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3bp7u0x5s.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).