# HG changeset patch # User Eli Zaretskii # Date 917794183 0 # Node ID 998fefa595a709b9709b1734db0fec33e1d40f06 # Parent 5e43fcb42e8155310607b226467f717683b364da (rmail-mime-charset-pattern): Add optional TABs and NLs before "charset", and allow the charset name be in double quotes. diff -r 5e43fcb42e81 -r 998fefa595a7 lisp/mail/rmail.el --- 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.")