]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix problem with wrong encoding of non-ASCII message bodies
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 14 Feb 2016 06:47:33 +0000 (17:47 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 14 Feb 2016 06:47:33 +0000 (17:47 +1100)
* lisp/gnus/mml.el (mml-generate-mime-1): Disable
multibyteness before encoding the data.

lisp/gnus/mml.el

index d9cf15f49703886a0a5bcb06440b48394111b389..f9d6cd877b6c6d2633210a9b0f0f11914a848b7d 100644 (file)
@@ -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)))