https://bugs.winehq.org/show_bug.cgi?id=52965
Bug ID: 52965 Summary: kernel32:locale - test_GetLocaleInfoW() and test_invariant() fail on Windows in Hindi Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
kernel32:locale fails on Windows in Hindi when run without the UTF-8 codepage (so with an English system locale):
In test_GetLocaleInfoW(): locale.c:394: Test failed: got wrong name L"\0905\092e\0947\0930\093f\0915\093e" locale.c:404: Test failed: got wrong name L"\0905\0902\0917\094d\0930\0947\091c\093c\0940 (\0938\0902\092f\0941\0915\094d\0924 \0930\093e\091c\094d\092f)" locale.c:5096: Test failed: got L"\0905\092e\0947\0930\093f\0915\093e"
In test_invariant(): locale.c:5728: Test failed: Expected ret == 39, got 33, error 87 locale.c:5729: Test failed: Expected Invariant Language (Invariant Country), got '?????????? ???? (?????????? ???)' locale.c:5733: Test failed: Expected ret == 18, got 15, error 87 locale.c:5734: Test failed: Expected Invariant Country, got '?????????? ???' locale.c:5738: Test failed: Got '??? ??????????????'
https://test.winehq.org/data/patterns.html#kernel32:locale
This can be reproduced with the w10pro64-hi test configuration but these failures do not happen when using UTF-8 (w10pro64-hi-u8).
https://bugs.winehq.org/show_bug.cgi?id=52965
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source, testcase
https://bugs.winehq.org/show_bug.cgi?id=52965
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=52965
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #1 from François Gouget fgouget@codeweavers.com --- This was actually an issue where the UserDefaultLCID and ThreadLocale were being reset to en_US 24 hours after taking the VM snapshot (see bug 47804 and bug 51451). Now LibvirtTool re-sets these just before running the tests which seems to have cured this failure.
https://bugs.winehq.org/show_bug.cgi?id=52965
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc1.