Fixed ContentType exception "charset=utf8"

Handles properly the charset parameter in the ContentType "text/xml; charset=utf8"
Merge pull request #556 from IlSocio/portable

Fixed ContentType exception "charset=utf-8"