projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
196dc88
)
Fix a string-as-unibyte in Gnus
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 14 Apr 2018 21:17:24 +0000
(23:17 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 14 Apr 2018 21:17:24 +0000
(23:17 +0200)
* lisp/gnus/gnus-art.el (gnus-article-browse-html-parts): Get rid
of a string-as-unibyte.
lisp/gnus/gnus-art.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-art.el
b/lisp/gnus/gnus-art.el
index ed6e77fb32902427b4f7be5cf09cddaf65ef44cf..c153d94f3c3a1a6c5986927bb45b7db412e3267d 100644
(file)
--- 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)