* lisp/gnus/message.el (message-clone-locals): Don't clone
message-default-charset. (Bug#25645)
(or (null varstr)
(string-match varstr (symbol-name (car local)))))
(ignore-errors
- (set (make-local-variable (car local))
- (cdr local)))))
+ ;; Cloning message-default-charset could cause an already
+ ;; encoded text to be encoded again, yielding raw bytes
+ ;; instead of characters in the message.
+ (unless (string-match "message-default-charset"
+ (symbol-name (car local)))
+ (set (make-local-variable (car local))
+ (cdr local))))))
locals)))
;;;