CHARSET_RE fix

There is a problem with the charset regular expression, it expects one space, and only one, between mimetype and charset. So a valid value like "text/html;charset=utf-8" doesn't match and default_encoding is returned.
This commit fixes that by allowing any number of spaces (including zero).