>From 22526c5f7dabdf2d48ee58e93cb78c2d1f2ec9ed Mon Sep 17 00:00:00 2001 From: Ivan Kanis Date: Mon, 24 Jun 2013 08:39:26 +0200 Subject: [PATCH 2/7] handle quoted charset header (https://wincent.com/products/command-t to reproduce bug) --- emacs/gnus/eww.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/emacs/gnus/eww.el b/emacs/gnus/eww.el index 53fa882..aa39585 100644 --- a/emacs/gnus/eww.el +++ b/emacs/gnus/eww.el @@ -180,7 +180,7 @@ It will be used when emacs runs on neither Windows or Mac." (pt (point))) (or (and html-p (re-search-forward - "]*charset=\"?\\([^\t\n\r \"/>]+\\)" nil t) + "]*charset=\"?\\([^\t\n\r \"/>]+\\)[\\\"'.*]" nil t) (goto-char pt) (match-string 1)) (and (looking-at -- 1.7.1