Piotr Caban : kernel32: Restore C locale for LC_CTYPE category.
Ken Thomases
ken at codeweavers.com
Wed Mar 20 09:58:25 CDT 2019
On Mar 20, 2019, at 8:28 AM, Piotr Caban <piotr.caban at gmail.com> wrote:
>
> I've looked for the solution of this problem and I failed to find one that works with C locale. It looks like XIM is not working when it's initialized in C or POSIX locale even if wchar_t or utf8 variant of lookup functions is used (XwcLookupString, Xutf8LookupString).
[…]
> I see 2 possible solutions for that:
> - go with the ascii_{tolower,toupper,strcasecmp,strncasecmp} helpers and use them instead of glibc functions
What about the xlocale functions (e.g. tolower_l())? If you pass a NULL locale_t to them, they operate in the C locale.
-Ken
More information about the wine-devel
mailing list