diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/net/eww.el | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cc9f4510daa..dd8f3cee186 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * net/eww.el (eww-display-html): Decode the document-defined charset. | ||
| 4 | |||
| 1 | 2014-11-23 Ivan Shmakov <ivan@siamics.net> | 5 | 2014-11-23 Ivan Shmakov <ivan@siamics.net> |
| 2 | 6 | ||
| 3 | * net/eww.el (eww-suggest-uris): New variable. | 7 | * net/eww.el (eww-suggest-uris): New variable. |
diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 3ccbeb0a14f..ba21cc857af 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el | |||
| @@ -356,7 +356,8 @@ See the `eww-search-prefix' variable for the search engine used." | |||
| 356 | (progn | 356 | (progn |
| 357 | (unless (eq charset encode) | 357 | (unless (eq charset encode) |
| 358 | (condition-case nil | 358 | (condition-case nil |
| 359 | (decode-coding-region (point) (point-max) encode) | 359 | (decode-coding-region (point) (point-max) |
| 360 | (or encode charset)) | ||
| 360 | (coding-system-error nil))) | 361 | (coding-system-error nil))) |
| 361 | (libxml-parse-html-region (point) (point-max)))))) | 362 | (libxml-parse-html-region (point) (point-max)))))) |
| 362 | (source (and (null document) | 363 | (source (and (null document) |