rather than mapping manually internally in msxml, would it be better to use the MIME database registry and its AliasForCharset key.
https://learn.microsoft.com/en-us/previous-versions/troubleshoot/msxml/xml-e...
Please refer to XML Encodings section