convert encoding (fix firefox XML Parsing Error)