From: Lars Ingebrigtsen Date: Sun, 14 Feb 2016 06:47:33 +0000 (+1100) Subject: Fix problem with wrong encoding of non-ASCII message bodies X-Git-Tag: emacs-26.0.90~2549 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=91823195c55a0e1ef9c3f9e72338658fd5c5207e;p=emacs.git Fix problem with wrong encoding of non-ASCII message bodies * lisp/gnus/mml.el (mml-generate-mime-1): Disable multibyteness before encoding the data. --- diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el index d9cf15f4970..f9d6cd877b6 100644 --- a/lisp/gnus/mml.el +++ b/lisp/gnus/mml.el @@ -631,6 +631,7 @@ be \"related\" or \"alternate\"." (let ((mm-coding-system-priorities (cons 'utf-8 mm-coding-system-priorities))) (setq charset (mm-encode-body)))) + (mm-disable-multibyte) (setq encoding (mm-body-encoding charset (cdr (assq 'encoding cont)))))) (setq coded (buffer-string)))