From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: attachment options?
Date: Tue, 21 Sep 2010 10:14:23 +0800 [thread overview]
Message-ID: <87zkvblu68.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <m3bp7u0x5s.fsf@quimbies.gnus.org>
On Sun, Sep 19 2010, Lars Magne Ingebrigtsen wrote:
> 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.
Just noting that this did the trick, Amazon recognizes attachments
properly now…
next prev parent reply other threads:[~2010-09-21 2:14 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
2010-09-19 14:08 ` Eric Abrahamsen
2010-09-21 2:14 ` Eric Abrahamsen [this message]
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=87zkvblu68.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--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).