[Bug 36720] New: LCMapString with the parameter NORM_IGNORENONSPACE does not remove diacritics
http://bugs.winehq.org/show_bug.cgi?id=36720 Bug ID: 36720 Summary: LCMapString with the parameter NORM_IGNORENONSPACE does not remove diacritics Product: Wine Version: 1.6.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: mterrisse(a)free.fr Created attachment 48766 --> http://bugs.winehq.org/attachment.cgi?id=48766 Source and binary to reproduce a bug in Wine implementation of LCMapString Hello, Working on Windows I use LCMapString with the parameter NORM_IGNORENONSPACE to remove diacritics (e.g. accents) from a string and it works fine. But I tested on Wine (1.6.2, Ubuntu) and it does not remove the diacritics from the string (the string is unchanged). This bug impacts this software http://appdb.winehq.org/objectManager.php?sClass=application&iId=6654 On the next version of the product, a client running on Wine cannot connect to a server running on Windows if the login contains diacritics. I attach a small project to reproduce the problem. It is written in Pascal (Delphi) but can be easily converted to another language. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=36720 Michel Terrisse <mterrisse(a)free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mterrisse(a)free.fr -- 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=36720 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase -- 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.
http://bugs.winehq.org/show_bug.cgi?id=36720 --- Comment #1 from Michel Terrisse <mterrisse(a)free.fr> --- I could find a workaround : - call FoldString (MAP_COMPOSITE) - call LCMapString (NORM_IGNORENONSPACE) - call FoldString (MAP_PRECOMPOSED) It works fine -- 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=36720 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #2 from super_man(a)post.com --- fixme:thread:GetThreadUILanguage : stub, returning default language. fixme:thread:GetThreadPreferredUILanguages 56, 0x33d900, (nil) 0x33d928 fixme:thread:GetThreadPreferredUILanguages 56, 0x33d900, (nil) 0x33d928 This program calls LCMapStringW (L"àçéèêëù", NORM_IGNORENONSPACE) and expects it returns L"aceeeeu" Size of the transformed string: 7 (expecting 7) Transformed string: àçéèêëù (expecting aceeeeu) Press Enter to exit... it's still an issue 1.7.50 -- 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=36720 --- Comment #3 from super_man(a)post.com --- The problem is somewhere here... http://source.winehq.org/git/wine.git/blob/966a07149a029191d3d9ba010e5bcb8cc... -- 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=36720 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #4 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Still present in wine-5.15. -- 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=36720 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |5dee0ed75502e0295d09e39d8a8 | |0d02954702212 --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> --- It should be fixed by 5dee0ed75502e0295d09e39d8a80d02954702212. -- 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=36720 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.11. -- 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 (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla