[Wine] WINE is ignoring locale settings

James McKenzie jjmckenzie51 at earthlink.net
Fri Jun 18 21:46:30 CDT 2010


dziki wrote:
> After: WINEDEBUG=trace+all wine  notepad.exe &> log i found that wine ignores pl_PL in some way.
>
> Is there a way to determine why wine flips back to C locale?
>
>
>
> Code:
>
> $ cat log | grep GetLocaleInfoW
> 001d:trace:nls:GetLocaleInfoW (lcid=0x409,lctype=0x1004,0xffea3f40,2)
> 001d:trace:nls:GetLocaleInfoW (lcid=0x409,lctype=0x1004,0xffea3f40,2) returning number 1252
> 001d:trace:nls:GetLocaleInfoW (lcid=0x409,lctype=0x1011,0xffea3f48,2)
> 001d:trace:nls:GetLocaleInfoW (lcid=0x409,lctype=0x1011,0xffea3f48,2) returning number 10000
> 001d:trace:nls:GetLocaleInfoW (lcid=0x409,lctype=0xb,0xffea3f4c,2)
> 001d:trace:nls:GetLocaleInfoW (lcid=0x409,lctype=0xb,0xffea3f4c,2) returning number 437
> 001d:trace:nls:GetLocaleInfoW (lcid=0x409,lctype=0x1030,0xffea3f44,2)
> 001d:trace:nls:GetLocaleInfoW (lcid=0x409,lctype=0x1030,0xffea3f44,2) returning number 28591
> 001d:trace:imports:import_dll --- GetLocaleInfoW kernel32.dll.506 = 0x7ee32ea0
> 001d:trace:imports:import_dll --- GetLocaleInfoW kernel32.dll.506 = 0x7ee0e4f0
> 001d:trace:imports:import_dll --- GetLocaleInfoW kernel32.dll.506 = 0x7ee0e4f0
> 001d:trace:imports:import_dll --- GetLocaleInfoW kernel32.dll.506 = 0x7ee0e4f0
> 001d:trace:imports:import_dll --- GetLocaleInfoW KERNEL32.dll.285 = 0x7ee0e4f0
> 001d:trace:nls:GetLocaleInfoW (lcid=0x409,lctype=0x1004,0x34facc,2)
> 001d:trace:nls:GetLocaleInfoW (lcid=0x409,lctype=0x1004,0x34facc,2) returning number 1252
> 001d:trace:nls:GetLocaleInfoW (lcid=0x409,lctype=0xb,0x34fac4,2)
> 001d:trace:nls:GetLocaleInfoW (lcid=0x409,lctype=0xb,0x34fac4,2) returning number 437
>
>
>   
Looks like this is in your registry.  Can you check what locale is set 
there?

James McKenzie




More information about the wine-users mailing list