Francois Gouget <fgouget(a)free.fr> writes:
@@ -1151,9 +1151,9 @@ static void test_threadcp(void) if (lcids[i].threadcp) ok(cpi.CodePage == lcids[i].threadcp, "wrong codepage %u for lcid %04x, should be %u\n", cpi.CodePage, lcids[i].lcid, lcids[i].threadcp); - else - ok(cpi.CodePage == acp, "wrong codepage %u for lcid %04x, should be %u\n", - cpi.CodePage, lcids[i].lcid, acp); + else todo_wine + ok(broken(cpi.CodePage == acp) || cpi.CodePage == CP_UTF8, "wrong codepage %u for lcid %04x, should be CP_UTF8\n", + cpi.CodePage, lcids[i].lcid);
/* WideCharToMultiByte - CP_THREAD_ACP */ num = WideCharToMultiByte(CP_THREAD_ACP, 0, foobarW, -1, NULL, 0, NULL, NULL);
It would be interesting to test if the WideCharToMultiByte conversion is actually using utf-8. -- Alexandre Julliard julliard(a)winehq.org