Strip charset in Registry.convert_content_format.