[Bug 52911] New: ole32:moniker fails on Windows in the UTF-8 codepage

WineHQ Bugzilla wine-bugs at winehq.org
Tue Apr 26 18:14:40 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=52911

            Bug ID: 52911
           Summary: ole32:moniker fails on Windows in the UTF-8 codepage
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ole32
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com
      Distribution: ---

ole32:moniker fails on Windows in the UTF-8 codepage:

moniker.c:2189: Test failed: IsEqual failed with error 0x000001
[...]

https://test.winehq.org/data/patterns.html#ole32:moniker

So the failures happen because moniker1 and moniker2 are always different.
Adding a call to winetest_push_context() shows that the failures all happen for
string 2 which ole32:moniker uses to skip tests on code pages where there are
round-trip issues:

        {0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca,
0xcb, 0xcc, 0xcd, 0xce, 0xcf, 0xd0, 0},
[...]
        skip("string 2 doesn't round trip in codepage %u\n", GetACP() );

So it looks like the skip fails to trigger for the UTF-8 codepage (or that we
should do something else to make the UTF-8 case work).

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list