Gnus development mailing list
 help / color / mirror / Atom feed
* Re: [gnus git] branch master updated: (mail-header-encode-parameter): Define as rfc2045-encode-string
       [not found] <E1OxISH-0000Xr-00@quimby.gnus.org>
@ 2010-09-20  1:00 ` Katsumi Yamaoka
  2010-09-20 15:45   ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Katsumi Yamaoka @ 2010-09-20  1:00 UTC (permalink / raw)
  To: ding

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gnus git] branch master updated: (mail-header-encode-parameter): Define as rfc2045-encode-string
  2010-09-20  1:00 ` [gnus git] branch master updated: (mail-header-encode-parameter): Define as rfc2045-encode-string Katsumi Yamaoka
@ 2010-09-20 15:45   ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2010-09-20 15:45 UTC (permalink / raw)
  To: ding

Katsumi Yamaoka <yamaoka@jpl.org> writes:

>>     (mail-header-encode-parameter): Define as rfc2045-encode-string
>
> Why not `rfc2047-encode-parameter'?  Cf. (info "(emacs-mime)rfc2047")

I've now changed it to use that instead.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-20 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E1OxISH-0000Xr-00@quimby.gnus.org>
2010-09-20  1:00 ` [gnus git] branch master updated: (mail-header-encode-parameter): Define as rfc2045-encode-string Katsumi Yamaoka
2010-09-20 15:45   ` Lars Magne Ingebrigtsen

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