* net/eww.el (eww-display-html): Decode the document-defined charset.

parent 5d9ddb96
2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/eww.el (eww-display-html): Decode the document-defined charset.
2014-11-23 Ivan Shmakov <ivan@siamics.net>
* net/eww.el (eww-suggest-uris): New variable.
......
......@@ -356,7 +356,8 @@ See the `eww-search-prefix' variable for the search engine used."
(progn
(unless (eq charset encode)
(condition-case nil
(decode-coding-region (point) (point-max) encode)
(decode-coding-region (point) (point-max)
(or encode charset))
(coding-system-error nil)))
(libxml-parse-html-region (point) (point-max))))))
(source (and (null document)
......
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