Short answer
The declared encoding must match the bytes in the uploaded XML file.
What to check
Review UTF-8, declarations, entities, CDATA, and special characters. Validate well-formed markup, namespaces, character encoding, attributes, repeated nodes, and data types after conversion.
Using xml.now
Use the XML TO HTML converter, keep the source, and inspect the downloaded result before sharing it.