[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 9f767b3 1/2: Fix a string-as-unibyte in Gnus
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 9f767b3 1/2: Fix a string-as-unibyte in Gnus |
Date: |
Sat, 14 Apr 2018 17:25:31 -0400 (EDT) |
branch: master
commit 9f767b3ec83a89706bceb5e0a9c778092a7dfe5d
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Fix a string-as-unibyte in Gnus
* lisp/gnus/gnus-art.el (gnus-article-browse-html-parts): Get rid
of a string-as-unibyte.
---
lisp/gnus/gnus-art.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index ed6e77f..c153d94 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -2921,7 +2921,8 @@ message header will be added to the bodies of the
\"text/html\" parts."
(encode-coding-string
title coding))
body content))
- (setq eheader (string-as-unibyte (buffer-string))
+ (setq eheader (encode-coding-string
+ (buffer-string) 'utf-8)
body content)))
(erase-buffer)
(mm-disable-multibyte)