(rmail-mime-charset-pattern): Allow a TAB between "Content-Type" and
authorEli Zaretskii <eliz@gnu.org>
Sat, 7 Oct 2006 13:30:41 +0000 (13:30 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 7 Oct 2006 13:30:41 +0000 (13:30 +0000)
"text/plain".

lisp/ChangeLog
lisp/mail/rmail.el

index 6093b1c..1360dc3 100644 (file)
@@ -3,6 +3,8 @@
        * mail/rmail.el (rmail-redecode-body): If the old encoding is
        `undecided', call find-coding-systems-region to find a proper
        non-trivial encoding.
+       (rmail-mime-charset-pattern): Allow a TAB between "Content-Type"
+       and "text/plain".
 
 2006-10-07  Kevin Ryde  <user42@zip.com.au>
 
index b196d90..68dfd9f 100644 (file)
@@ -623,7 +623,7 @@ the variable `rmail-mime-feature'.")
 
 ;;;###autoload
 (defvar rmail-mime-charset-pattern
-  (concat "^content-type:[ ]*text/plain;"
+  (concat "^content-type:[ \t]*text/plain;"
          "\\(?:[ \t\n]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*"
          "[ \t\n]*charset=\"?\\([^ \t\n\";]+\\)\"?")
   "Regexp to match MIME-charset specification in a header of message.