changeset 24234:998fefa595a7

(rmail-mime-charset-pattern): Add optional TABs and NLs before "charset", and allow the charset name be in double quotes.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 31 Jan 1999 14:49:43 +0000
parents 5e43fcb42e81
children d8812963530b
files lisp/mail/rmail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Sun Jan 31 07:20:12 1999 +0000
+++ b/lisp/mail/rmail.el	Sun Jan 31 14:49:43 1999 +0000
@@ -371,7 +371,7 @@
 
 ;;;###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.")