>>>>> 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)
`----
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to