Commit c8e195e1 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

kernel32: Restore C locale for LC_CTYPE category.

In tr_TR.UTF-8 locale tolower('I') != 'i' (this is not a bug in glibc, tolower('I') is suppossed to return dotless i that is 2-byte long). Because of that strcasemp("i", "I") returns that the strings are different. Signed-off-by: 's avatarPiotr Caban <piotr@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 849daa9c
......@@ -4226,6 +4226,7 @@ void LOCALE_Init(void)
mac_cptable->info.codepage, unix_cp );
setlocale(LC_NUMERIC, "C"); /* FIXME: oleaut32 depends on this */
setlocale(LC_CTYPE, "C"); /* Fixes issues when tr_TR.UTF-8 locale is used */
}
static HANDLE NLS_RegOpenKey(HANDLE hRootKey, LPCWSTR szKeyName)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment