Commit 0736daff authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(rmail-mime-charset-pattern): Allow a TAB between "Content-Type" and

"text/plain".
parent 4baf35c9
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
* mail/rmail.el (rmail-redecode-body): If the old encoding is * mail/rmail.el (rmail-redecode-body): If the old encoding is
`undecided', call find-coding-systems-region to find a proper `undecided', call find-coding-systems-region to find a proper
non-trivial encoding. 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> 2006-10-07 Kevin Ryde <user42@zip.com.au>
   
......
...@@ -623,7 +623,7 @@ the variable `rmail-mime-feature'.") ...@@ -623,7 +623,7 @@ the variable `rmail-mime-feature'.")
;;;###autoload ;;;###autoload
(defvar rmail-mime-charset-pattern (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]*\\(?:format\\|delsp\\)=\"?[-a-z0-9]+\"?;\\)*"
"[ \t\n]*charset=\"?\\([^ \t\n\";]+\\)\"?") "[ \t\n]*charset=\"?\\([^ \t\n\";]+\\)\"?")
"Regexp to match MIME-charset specification in a header of message. "Regexp to match MIME-charset specification in a header of message.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment