* net/eww.el (eww-display-html): Ignore coding system errors.
One web site uses "utf-8lias" as the coding system.
This commit is contained in:
parent
6edea0a595
commit
3e41a054bf
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* net/eww.el (eww-display-html): Ignore coding system errors. One
|
||||
web site uses "utf-8lias" as the coding system.
|
||||
|
||||
2013-08-11 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
|
||||
|
|
|
@ -199,7 +199,9 @@ word(s) will be searched for via `eww-search-prefix'."
|
|||
|
||||
(defun eww-display-html (charset url)
|
||||
(unless (eq charset 'utf8)
|
||||
(decode-coding-region (point) (point-max) charset))
|
||||
(condition-case nil
|
||||
(decode-coding-region (point) (point-max) charset)
|
||||
(coding-system-error nil)))
|
||||
(let ((document
|
||||
(list
|
||||
'base (list (cons 'href url))
|
||||
|
|
Loading…
Add table
Reference in a new issue