Nikolay Sivov (@nsivov) commented about dlls/msxml3/tests/domdoc.c:
+ return; + } + + for (i = 0; i < ARRAYSIZE(zhcn_tests); i++) + { + static const CHAR xml_zhcn[] = "<?xml version=\"1.0\" encoding=\"%s\"?>\r\n<euro>\x80</euro>\r\n"; + doc = create_document(&IID_IXMLDOMDocument); + + size = strlen(xml_zhcn) + strlen(zhcn_tests[i].cp) - 1; + content = malloc(size); + + wsprintfA(content, xml_zhcn, zhcn_tests[i].cp); + + hr = IXMLDOMDocument_loadXML(doc, _bstr_(content), NULL); + ok(hr == S_OK, "tests[%d]: Got hr %#lx.\n", i, hr); + loadXML() expects WCHARs, and will ignore encoding attribute. So this test is not testing encoding I believe.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10646#note_135980