diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-21 15:36:45 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-01-07 14:34:39 +0100 |
commit | 5d76288660279c2affa4bed45956efd311eaf53d (patch) | |
tree | 90690e2d18550d8176eae27abc2badda3ace6521 | |
parent | 149d64bbb2b46f63c759fe4754bdf90eb6f2a3cc (diff) | |
download | emacs-5d76288660279c2affa4bed45956efd311eaf53d.tar.gz |
Fix problem with 8bit content-transfer-encoding in nndoc mbox files
* lisp/gnus/nndoc.el (nndoc-possibly-change-buffer): If we're
reading an mbox file, it may contain messages that use
content-transfer-encoding 8bit, which means that we have to treat
the file as a sequence of byte (bug#42951). This avoids
double-decoding -- once by Emacs when inserting the mbox into the
buffer, and once by Gnus when displaying the articles.
-rw-r--r-- | lisp/gnus/nndoc.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/gnus/nndoc.el b/lisp/gnus/nndoc.el index 79518bb4f81..9d5e3900e8d 100644 --- a/lisp/gnus/nndoc.el +++ b/lisp/gnus/nndoc.el @@ -352,6 +352,7 @@ from the document.") nndoc-group-alist) (setq nndoc-dissection-alist nil) (with-current-buffer nndoc-current-buffer + (set-buffer-multibyte nil) (erase-buffer) (condition-case error (if (and (stringp nndoc-address) |