fixed utf-8 handling and content type xml