Re: WINE is ignoring locale settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




Code:


$ cat log | grep pl_PL         
001d:trace:nls:MultiByteToWideChar cp 65010 "LC_ALL=pl_PL\x00" -> (null), ret = 13
001d:trace:nls:MultiByteToWideChar cp 65010 "LC_TYPE=pl_PL\x00" -> (null), ret = 14
001d:trace:nls:MultiByteToWideChar cp 65010 "LANG=pl_PL\x00" -> (null), ret = 11
001d:trace:nls:MultiByteToWideChar cp 65010 "LC_ALL=pl_PL\x00" -> L"LC_ALL=pl_PL\0000", ret = 13
001d:trace:nls:MultiByteToWideChar cp 65010 "LC_TYPE=pl_PL\x00" -> L"LC_TYPE=pl_PL\0000", ret = 14
001d:trace:nls:MultiByteToWideChar cp 65010 "LANG=pl_PL\x00" -> L"LANG=pl_PL\0000", ret = 11



Code:


$ cat log | grep LC_TYPE
001d:trace:nls:MultiByteToWideChar cp 65010 "LC_TYPE=pl_PL\x00" -> (null), ret = 14
001d:trace:nls:MultiByteToWideChar cp 65010 "LC_TYPE=pl_PL\x00" -> L"LC_TYPE=pl_PL\0000", ret = 14



Code:


$ cat log | grep locale 
001d:trace:nls:parse_locale_name L"C"
001d:trace:nls:setup_unix_locales got lcid 0409 (4 matches) for LC_CTYPE="C"
001d:trace:xim:open_xim Using C locale of Input Method




Could it be bocause:


Code:

warn:font:AddFontToList Unable to load font "/home/michal/.wine/dosdevices/c:/windows/Fonts/vgaoem.fon"/(nil) err = 1
warn:font:AddFontToList Unable to load font "/home/michal/.wine/dosdevices/c:/windows/Fonts/vgafix.fon"/(nil) err = 1
warn:font:AddFontToList Unable to load font "/usr/bin/../share/wine/fonts/vgafix.fon"/(nil) err = 1
warn:font:AddFontToList Unable to load font "/home/michal/.wine/dosdevices/c:/windows/Fonts/kanjic01.hsf"/(nil) err = 2
warn:font:AddFontToList Ignoring font "/home/michal/.wine/dosdevices/c:/windows/Fonts/courier-bold.pfa"/(nil)
[...]










[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux