Commit 851b38bc authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

mm-shr: Ignore coding-system `ascii'

* lisp/gnus/mm-decode.el (mm-shr): Ignore coding-system `ascii'.
parent 0a670690
......@@ -1808,8 +1808,9 @@ text/\\(\\sw+\\)\\(?:;\\s-*charset=\\([^\t\n\r \"'>]+\\)\\)?[^>]*>" nil t)
nil t))
(string-match "\\`html\\'" (match-string 1))))
(when (or coding
(setq coding (mm-charset-to-coding-system charset nil t)))
(when (and (or coding
(setq coding (mm-charset-to-coding-system charset nil t)))
(not (eq coding 'ascii)))
(insert (prog1
(decode-coding-string (buffer-string) coding)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment