"Dmitry Timoshkov" dmitry@baikal.ru writes:
And fallback to LOCALE_IDEFAULTUNIXCODEPAGE if the encoding information is missing in the locale environment?
Yep.
Probably it's better to implement this as a part of init_default_lcid() in kernel32 then? But then the question arises how to pass that information to x11drv, or just completely duplicate init_default_lcid() in x11drv?
It's better to do it in kernel32, yes. We could add a wine-specific function to export it, or maybe simply add a CP_UNIXCP code in MBtoWC/WCtoMB.