[Bug 56175] New: Ntdll RtlUpcaseUnicodeChar support is too good (supports more recent Unicode versions than Windows)
https://bugs.winehq.org/show_bug.cgi?id=56175 Bug ID: 56175 Summary: Ntdll RtlUpcaseUnicodeChar support is too good (supports more recent Unicode versions than Windows) Product: Wine Version: 9.0-rc5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs(a)winehq.org Reporter: pat.wine(a)tullmann.org Distribution: --- I am investigating a failure in a test for the Zig programming language's support for Windows, when run under Wine. The test passes on a real Windows installation, but fails under Wine. The test is exercising ntdll RtlUpcaseUnicodeChar and, when run under Wine, it finds about 190 characters that are unexpectedly upper cased.
From what I can tell, Wine uses up-to-date definitions from Unicode (via tools/make_unicode), but Windows has not updated its Unicode tables as recently. I have not found any documentation from Microsoft about what specific Unicode version they support.
For a specific example, the Greek Letter Yot (U+3f3, "ϳ", https://www.compart.com/en/unicode/U+03f3) is one that Window's RtlUpcaseUnicodeChar will not upcase. But Wine's RtlUpcaseUnicodeChar will upcase it to a Greek Capital Letter Yot (U+37f, "Ϳ", https://www.compart.com/en/unicode/U+037F). I believe this is a bug in Wine, and it should use the same upper casing rules (and presumably a lot of other Unicode tables?) as Windows. I can provide a Zig test case (probably not that useful!), or I can try building a C test case if that would be helpful. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56175 --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> --- In general, using better Unicode tables is not considered a bug. It's expected that the results will be slightly different. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56175 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com --- Comment #2 from Zeb Figura <z.figura12(a)gmail.com> --- I can't help but wonder why Zig's unit tests are expecting characters to be incorrectly upcased? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56175 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de -- 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.
participants (1)
-
WineHQ Bugzilla