msxml3: Make utf-8 the default encoding.
Signed-off-by: Daniel Lehman <dlehman@esri.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ba4838b0e6
commit
5260ab30cd
|
@ -2603,6 +2603,9 @@ static char *xmldoc_encoding(IXMLDOMDocument3 *doc)
|
|||
IXMLDOMNode_Release(node);
|
||||
}
|
||||
|
||||
if (!encoding && (encoding = heap_alloc(sizeof("UTF-8"))))
|
||||
strcpy(encoding, "UTF-8");
|
||||
|
||||
return encoding;
|
||||
}
|
||||
|
||||
|
|
|
@ -6636,7 +6636,7 @@ static void test_save(void)
|
|||
{
|
||||
ReadFile(hfile, buffer, sizeof(buffer), &read, NULL);
|
||||
ok(read != 0, "could not read file\n");
|
||||
todo_wine ok(!memcmp(buffer, cheA, sizeof(cheA)-1), "got: %s\n", buffer);
|
||||
ok(!memcmp(buffer, cheA, sizeof(cheA)-1), "got: %s\n", buffer);
|
||||
|
||||
CloseHandle(hfile);
|
||||
DeleteFileA("test.xml");
|
||||
|
|
Loading…
Reference in New Issue