From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: [gnus git] branch master updated: (mail-header-encode-parameter): Define as rfc2045-encode-string
Date: Mon, 20 Sep 2010 10:00:56 +0900 [thread overview]
Message-ID: <b4mlj6x2ppz.fsf@jpl.org> (raw)
In-Reply-To: <E1OxISH-0000Xr-00@quimby.gnus.org>
Lars Magne Ingebrigtsen <larsi@quimbies.gnus.org> wrote:
> (mail-header-encode-parameter): Define as rfc2045-encode-string
Why not `rfc2047-encode-parameter'? Cf. (info "(emacs-mime)rfc2047")
I've been using it as mail-header-encode-parameter to send Japanese
messages to people who use M$ mailers:
(rfc2047-encode-parameter "filename" "日本語")
=> "filename=\"=?iso-2022-jp?B?GyRCRnxLXDhsGyhC?=\""
But rfc2045- doesn't support encoding of non-ASCII text:
(rfc2045-encode-string "filename" "日本語")
=> "filename=\"日本語\""
> Instead of as rfc2231-encode-string, since some (or most, perhaps?)
> mail readers don't understand the latter, but do understand the
> former.
AFAIK at least Thunderbird supports rfc2231.
next parent reply other threads:[~2010-09-20 1:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1OxISH-0000Xr-00@quimby.gnus.org>
2010-09-20 1:00 ` Katsumi Yamaoka [this message]
2010-09-20 15:45 ` Lars Magne Ingebrigtsen
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=b4mlj6x2ppz.fsf@jpl.org \
--to=yamaoka@jpl.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).