emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 9182319: Fix problem with wrong encoding of non-ASC


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 9182319: Fix problem with wrong encoding of non-ASCII message bodies
Date: Sun, 14 Feb 2016 06:47:58 +0000

branch: master
commit 91823195c55a0e1ef9c3f9e72338658fd5c5207e
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Fix problem with wrong encoding of non-ASCII message bodies
    
    * lisp/gnus/mml.el (mml-generate-mime-1): Disable
    multibyteness before encoding the data.
---
 lisp/gnus/mml.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el
index d9cf15f..f9d6cd8 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]