plone/plone.transformchain — pull request #2 by jpgimenez (2012-12-27 19:54:01+00:00)
Title: 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).