(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:
parent
df90db1359
commit
1d0f30ecee
1 changed files with 1 additions and 1 deletions
|
@ -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.")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue