X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Frfc2047.el;h=3b76718755a7bbce51590571e0ccd40b3dcf4dd3;hb=e2696774a2e225ea60d46cc665d4232c80412731;hp=a6c071d7649d6a23b56af7db23fcd6369c3256b3;hpb=d3a3f1bd1196509f332761e989a946231722f47b;p=elisp%2Fgnus.git- diff --git a/lisp/rfc2047.el b/lisp/rfc2047.el index a6c071d..3b76718 100644 --- a/lisp/rfc2047.el +++ b/lisp/rfc2047.el @@ -438,7 +438,7 @@ Dynamically bind `rfc2047-encoding-type' to change that." "Encode words in STRING. By default, the string is treated as containing addresses (see `rfc2047-encoding-type')." - (with-temp-buffer + (mm-with-multibyte-buffer (insert string) (rfc2047-encode-region (point-min) (point-max)) (buffer-string)))