(mail-header-encode-parameter): Define as rfc2045-encode-string
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 19 Sep 2010 11:53:00 +0000 (13:53 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sun, 19 Sep 2010 11:53:00 +0000 (13:53 +0200)
Instead of as rfc2231-encode-string, since some (or most, perhaps?)
mail readers don't understand the latter, but do understand the
former.

lisp/ChangeLog
lisp/mail-parse.el

index feb31af..f226097 100644 (file)
@@ -1,5 +1,10 @@
 2010-09-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * mail-parse.el (mail-header-encode-parameter): Define as
+       rfc2045-encode-string instead of as rfc2231-encode-string, since some
+       (or most, perhaps?) mail readers don't understand the latter, but do
+       understand the former.
+
        * gnus-agent.el (gnus-agent-auto-agentize-methods): Switch the default
        to nil, so that no methods are automatically agentized.  I think this
        is probably what most users want.
index e697770..169b70a 100644 (file)
@@ -45,8 +45,7 @@
 (defalias 'mail-header-parse-content-type 'rfc2231-parse-qp-string)
 (defalias 'mail-header-parse-content-disposition 'rfc2231-parse-qp-string)
 (defalias 'mail-content-type-get 'rfc2231-get-value)
-;(defalias 'mail-header-encode-parameter 'rfc2045-encode-string)
-(defalias 'mail-header-encode-parameter 'rfc2231-encode-string)
+(defalias 'mail-header-encode-parameter 'rfc2045-encode-string)
 
 (defalias 'mail-header-remove-comments 'ietf-drums-remove-comments)
 (defalias 'mail-header-remove-whitespace 'ietf-drums-remove-whitespace)