Piotr Caban : kernel32: Restore C locale for LC_CTYPE category.

Ken Thomases ken at codeweavers.com
Wed Mar 20 11:55:05 CDT 2019


On Mar 20, 2019, at 11:16 AM, Piotr Caban <piotr.caban at gmail.com> wrote:
> 
> On 3/20/19 4:25 PM, Ken Thomases wrote:
> 
>> An alternative approach might be to leave LC_CTYPE set to the C locale but wrap the XIM functions in uselocale() calls to set the locale to the one that Wine had been using before this change and then set it back.  I don't know if that will be enough to get things to work.
> XIM is ignoring locale set with uselocale function. You will need to call setlocale to make it work but it changes the locale for whole process.

Then can we leave the global locale as dictated by environment variables and do uselocale() for all Wine-created threads to make them use the C locale?

-Ken




More information about the wine-devel mailing list