info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Chinese filename in the attachment


From: Katsumi Yamaoka
Subject: Re: Chinese filename in the attachment
Date: Mon, 03 Sep 2007 21:02:26 +0900
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

>>>>> 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)
`----


reply via email to

[Prev in Thread] Current Thread [Next in Thread]