From 1d0f30eceedf195d7331645af330da2784c3fa37 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 31 Jan 1999 14:49:43 +0000 Subject: [PATCH] (rmail-mime-charset-pattern): Add optional TABs and NLs before "charset", and allow the charset name be in double quotes. --- lisp/mail/rmail.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 6b9ea1b019d..6aed2263498 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -371,7 +371,7 @@ the variable `rmail-mime-feature'.") ;;;###autoload (defvar rmail-mime-charset-pattern - "^content-type:[ ]*text/plain;[ ]*charset=\\([^ \t\n]+\\)" + "^content-type:[ ]*text/plain;[ \t\n]*charset=\"?\\([^ \t\n\"]+\\)\"?" "Regexp to match MIME-charset specification in a header of message. The first parenthesized expression should match the MIME-charset name.") -- 2.39.2