Commit da43765d authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

gnus-article-html: Decode contents by charset.

parent b89666af
2010-09-01 Katsumi Yamaoka <>
* gnus-html.el (gnus-article-html): Decode contents by charset.
2010-09-01 Katsumi Yamaoka <>
* gnus-html.el (gnus-html-cache-directory, gnus-html-cache-size)
......@@ -66,7 +66,13 @@
(let* ((coding-system-for-read 'utf-8)
(coding-system-for-write 'utf-8)
(cons coding-system-for-read coding-system-for-write)))
(cons coding-system-for-read coding-system-for-write))
(charset (mail-content-type-get (mm-handle-type handle)
(when (and charset
(setq charset (mm-charset-to-coding-system charset))
(not (eq charset 'ascii)))
(mm-decode-coding-region (point-min) (point-max) charset))
(call-process-region (point-min) (point-max)
nil article-buffer nil
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