From: Katsumi Yamaoka <yamaoka@jpl.org>
To: info-gnus-english@gnu.org
Subject: Re: Chinese filename in the attachment
Date: Mon, 03 Sep 2007 21:02:26 +0900 [thread overview]
Message-ID: <b4mtzqchs8d.fsf@jpl.org> (raw)
In-Reply-To: <1188352119.603949.256770@m37g2000prh.googlegroups.com>
>>>>> haomiao wrote:
> But when my mail has attachment whose filename contains Chinese
> characters, other persons who are using outlook or foxmail can not see
> the attachment. (gnus can)
I don't know what version of Gnus you use but the recent ones
have this feature:
(info "(emacs-mime)rfc2047")
,----
|`rfc2047-encode-parameter'
| Encode a parameter in the RFC2047-like style. This is a
| replacement for the `rfc2231-encode-string' function. *Note
| rfc2231::.
|
| When attaching files as MIME parts, we should use the RFC2231
| encoding to specify the file names containing non-ASCII
| characters. However, many mail softwares don't support it in
| practice and recipients won't be able to extract files with
| correct names. Instead, the RFC2047-like encoding is acceptable
| generally. This function provides the very RFC2047-like encoding,
| resigning to such a regrettable trend. To use it, put the
| following line in your `~/.gnus.el' file:
|
| (defalias 'mail-header-encode-parameter 'rfc2047-encode-parameter)
`----
next parent reply other threads:[~2007-09-03 12:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1188352119.603949.256770@m37g2000prh.googlegroups.com>
2007-09-03 12:02 ` Katsumi Yamaoka [this message]
2007-09-05 3:26 ` haomiao
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=b4mtzqchs8d.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=info-gnus-english@gnu.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).