https://bugs.winehq.org/show_bug.cgi?id=42734
Bug ID: 42734 Summary: NormalizeString (Unicode normalization) is not implemented Product: Wine Version: 2.4 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: pgkos.bugzilla@yahoo.com Distribution: ArchLinux
When trying to run some apps for Vista/7 (and later) they crash because NormalizeString (and IsNormalizedString) is not implemented (also many .NET apps using String.Normalize need this function). In the console a following line appears:
fixme:nls:NormalizeString 2 0x39129b40 42 (nil) 0
Please, if possible, implement it - there are many open source libraries/applications implementing exactly the same functionality - Unicode NFC/NFD/NFKC/NFKD normalization.
For example, ICU implements practically identical functions: unorm2_normalize unorm2_isNormalized
(Wine Staging 2.4, Arch Linux 32-bit, kernel 4.10.6)
https://bugs.winehq.org/show_bug.cgi?id=42734
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com --- I added this to Google Summer of Code ideas page, let's see if anyone interested.
https://bugs.winehq.org/show_bug.cgi?id=42734
Will Stephenson wstephenson@stevello.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wstephenson@stevello.com
https://bugs.winehq.org/show_bug.cgi?id=42734
--- Comment #2 from Will Stephenson wstephenson@stevello.com --- Nikolay: was this bug fixed by Artur Swigon's GSoC project, which afaics you mentored?
Alternatively, I see a bunch of patches on wine-devel@ by Sergio Gómez Del Real, do you know whether they have made it into a release?
I am currently trying to debug a game under 3.18 which complains a lot about NormalizeString not being implemented.
https://bugs.winehq.org/show_bug.cgi?id=42734
--- Comment #3 from Will Stephenson wstephenson@stevello.com --- FYI the NormalizeString patches, when applied to wine-staging-3.18, superficially appear to solve this issue.
https://www.winehq.org/pipermail/wine-devel/2018-April/125332.html
https://bugs.winehq.org/show_bug.cgi?id=42734
Piotr Skólski sqlek@sqlek.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sqlek@sqlek.org
--- Comment #4 from Piotr Skólski sqlek@sqlek.org --- In 3.18-staged it seams that NormalizeString is still empty.
Maybe functionality is in another dll and not in normaliz.dll?
Elite Dangerous 2.4.1 is affected. Possible workaround? Yes but only for 32bit apps.
https://bugs.winehq.org/show_bug.cgi?id=42734
--- Comment #5 from Will Stephenson wstephenson@stevello.com --- The NormalizeString patches from the thread I linked above have not been added to -staging yet. I built my own 3.18-staging packages using the patches and keyboard bindings in Elite Dangerous work now. If you need to discuss the specifics of Elite on Wine, please use this thread on its forums: https://forums.frontier.co.uk/showthread.php/366894-How-to-install-ED-on-Lin...
https://bugs.winehq.org/show_bug.cgi?id=42734
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com Ever confirmed|0 |1 Status|UNCONFIRMED |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/kernel32-Normali | |zeString
https://bugs.winehq.org/show_bug.cgi?id=42734
Brendan McGrath brendan@redmandi.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |brendan@redmandi.com
--- Comment #6 from Brendan McGrath brendan@redmandi.com --- Just wanted to add a note that the NormalizeString patchset was added to wine-staging v2.19 and the keybindings in Elite Dangerous have worked (for me) perfectly ever since.
It would be great to see this patchset added to wine-devel prior to the release of v4.0.
https://bugs.winehq.org/show_bug.cgi?id=42734
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |e4a9e2ff2e65a37333d1dd4f132 | |a062d3380bce2
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Marking fixed, e4a9e2ff2e65a37333d1dd4f132a062d3380bce2. Please report remaining issues separately.
https://bugs.winehq.org/show_bug.cgi?id=42734
--- Comment #8 from Brendan McGrath brendan@redmandi.com --- Just confirming this fixes the keyboard issues that were in Elite. So from 4.2, it seems it will now work perfectly with no need for patches from wine-staging.
https://bugs.winehq.org/show_bug.cgi?id=42734
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.2.