(rmail-mime-charset-pattern): Add optional TABs

and NLs before "charset", and allow the charset name be in double
quotes.
This commit is contained in:
Eli Zaretskii 1999-01-31 14:49:43 +00:00
parent df90db1359
commit 1d0f30ecee

View file

@ -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.")