encoding fix for xml files