* Re: Chinese filename in the attachment
[not found] <1188352119.603949.256770@m37g2000prh.googlegroups.com>
@ 2007-09-03 12:02 ` Katsumi Yamaoka
2007-09-05 3:26 ` haomiao
0 siblings, 1 reply; 2+ messages in thread
From: Katsumi Yamaoka @ 2007-09-03 12:02 UTC (permalink / raw)
To: info-gnus-english
>>>>> 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)
`----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Chinese filename in the attachment
2007-09-03 12:02 ` Chinese filename in the attachment Katsumi Yamaoka
@ 2007-09-05 3:26 ` haomiao
0 siblings, 0 replies; 2+ messages in thread
From: haomiao @ 2007-09-05 3:26 UTC (permalink / raw)
To: info-gnus-english
> | (defalias 'mail-header-encode-parameter 'rfc2047-encode-parameter)
Yes, it is ok when I add this line. Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-05 3:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1188352119.603949.256770@m37g2000prh.googlegroups.com>
2007-09-03 12:02 ` Chinese filename in the attachment Katsumi Yamaoka
2007-09-05 3:26 ` haomiao
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).