[PATCH] kernel32/tests: Georgian and Hindi now get a thread codepage of CP_UTF8.
Alexandre Julliard
julliard at winehq.org
Tue Nov 26 14:28:38 CST 2019
Francois Gouget <fgouget at 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 at winehq.org
More information about the wine-devel
mailing list