https://bugs.winehq.org/show_bug.cgi?id=54559
Bug ID: 54559 Summary: riched20:editor fails on Windows in the Hindi locale Product: Wine Version: unspecified Hardware: x86-64 OS: Windows Status: NEW Severity: normal Priority: P2 Component: richedit Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
riched20:editor fails on Windows in the Hindi locale:
editor.c:719: Test failed: EM_POSFROMCHAR reports x=5, expected 1 editor.c:742: Test failed: EM_POSFROMCHAR reports x=5, expected 1 editor.c:773: Test failed: pt.x = 103 editor.c:540: Tests skipped: Skip multibyte character tests on non-Japanese platform editor.c:927: Test failed: Text marked as modified, expected not modified! editor.c:1872: Tests skipped: Skip multibyte character tests on non-Japanese platform editor.c:1899: Test failed: EM_GETSELTEXT returned 0 editor.c:1900: Test failed: EM_GETSELTEXT filled editor.c:1906: Test failed: EM_GETSELTEXT returned 0 editor.c:1907: Test failed: EM_GETSELTEXT filled
See https://test.winehq.org/data/patterns.html#riched20:editor
The failures happen in test_EM_POSFROMCHAR(), test_EM_SETCHARFORMAT and test_EM_GETSELTEXT(). This is not impacted by the UTF-8 code page.