[Bug 5096] New: Wrong thousand separator for Russian and Ukrainian locale
http://bugs.winehq.org/show_bug.cgi?id=5096 Summary: Wrong thousand separator for Russian and Ukrainian locale Product: Wine Version: 0.9.12. Platform: PC OS/Version: Windows 98 Status: UNCONFIRMED Severity: normal Priority: P4 Component: wine-kernel AssignedTo: wine-bugs(a)winehq.org ReportedBy: vovamal(a)uk2.net Thousand separator for these locales must be unbreakable space ('\x00a0'). But this character is considered as space character (isspaceW returns 1) when it is written to win.ini (see PROFILE_SetString in profile.c). Therefore, the item 'sThousand' is saved as empty value in win.ini. Another problem is in the function PROFILE_CopyEntry (profile.c). Sometimes it works incorrectly with quoted values. When it is called like this PROFILE_CopyEntry( buffer, L"\" \"", 2, TRUE ); it copies L"" instead of L" ". To fix this the line No. 118 in profile.c: if (quote && (len >= strlenW(value))) buffer[strlenW(buffer)-1] = '\0'; should be changed to if (quote && (len > strlenW(value))) buffer[strlenW(buffer)-1] = '\0'; -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs