Fixed ContentType exception "charset=utf8"

Handles properly the charset parameter in the ContentType "text/xml; charset=utf8"