http://bugs.winehq.org/show_bug.cgi?id=26334
--- Comment #4 from Stefan Persson spe@inducks.org 2011-04-17 18:43:02 CDT --- Doesn't work:
$ LANG=ja_JP.UTF-8 wine firefox fixme:msvcrt:_setmbcp trail bytes data not available for DBCS codepage 0 - assuming all bytes fixme:system:SetProcessDPIAware stub! fixme:process:SetProcessDEPPolicy (1): stub fixme:iphlpapi:NotifyAddrChange (Handle 0xdfe994, overlapped 0xdfe978): stub fixme:ntdll:NtLockFile I/O completion on lock not implemented yet err:ole:CoGetClassObject class {591209c7-767b-42b2-9fba-44ee4615f2c7} not registered err:ole:CoGetClassObject class {591209c7-767b-42b2-9fba-44ee4615f2c7} not registered err:ole:CoGetClassObject no class object {591209c7-767b-42b2-9fba-44ee4615f2c7} could be created for context 0x3 fixme:resource:GetGuiResources (0xffffffff,0): stub fixme:dbghelp:elf_search_auxv can't find symbol in module fixme:msvcrt:_setmbcp trail bytes data not available for DBCS codepage 0 - assuming all bytes
Works:
$ LANG=ja_JP.eucJP wine firefox fixme:system:SetProcessDPIAware stub! fixme:process:SetProcessDEPPolicy (1): stub fixme:iphlpapi:NotifyAddrChange (Handle 0xe4e994, overlapped 0xe4e978): stub fixme:ntdll:NtLockFile I/O completion on lock not implemented yet err:ole:CoGetClassObject class {591209c7-767b-42b2-9fba-44ee4615f2c7} not registered err:ole:CoGetClassObject class {591209c7-767b-42b2-9fba-44ee4615f2c7} not registered err:ole:CoGetClassObject no class object {591209c7-767b-42b2-9fba-44ee4615f2c7} could be created for context 0x3 fixme:resource:GetGuiResources (0xffffffff,0): stub fixme:win:FlashWindowEx 0x32e2a0 fixme:win:FlashWindowEx 0x32e3d8 fixme:win:FlashWindowEx 0x32e498 fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:SetNamedSecurityInfoW L"C:\users\test\Application Data\Mozilla\Firefox\Profiles\6oxest36.default\prefs.js" 1 536870916 (nil) (nil) 0x1f6934 (nil) fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:SetNamedSecurityInfoW L"C:\users\test\Application Data\Mozilla\Firefox\Profiles\6oxest36.default\localstore.rdf" 1 536870916 (nil) (nil) 0x1b2a34 (nil) err:ole:CoUninitialize Mismatched CoUninitialize
Works:
$ LANG=en wine firefox fixme:system:SetProcessDPIAware stub! fixme:process:SetProcessDEPPolicy (1): stub fixme:iphlpapi:NotifyAddrChange (Handle 0xdfe994, overlapped 0xdfe978): stub fixme:ntdll:NtLockFile I/O completion on lock not implemented yet err:ole:CoGetClassObject class {591209c7-767b-42b2-9fba-44ee4615f2c7} not registered err:ole:CoGetClassObject class {591209c7-767b-42b2-9fba-44ee4615f2c7} not registered err:ole:CoGetClassObject no class object {591209c7-767b-42b2-9fba-44ee4615f2c7} could be created for context 0x3 fixme:resource:GetGuiResources (0xffffffff,0): stub fixme:win:FlashWindowEx 0x32e2a0 fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:SetNamedSecurityInfoW L"C:\users\test\Application Data\Mozilla\Firefox\Profiles\6oxest36.default\prefs.js" 1 536870916 (nil) (nil) 0x1b01e4 (nil) fixme:file:MoveFileWithProgressW MOVEFILE_WRITE_THROUGH unimplemented fixme:advapi:SetNamedSecurityInfoW L"C:\users\test\Application Data\Mozilla\Firefox\Profiles\6oxest36.default\localstore.rdf" 1 536870916 (nil) (nil) 0x1b015c (nil) err:ole:CoUninitialize Mismatched CoUninitialize
The non-working variant has two lines which are not present for the working variants:
fixme:msvcrt:_setmbcp trail bytes data not available for DBCS codepage 0 - assuming all bytes fixme:dbghelp:elf_search_auxv can't find symbol in module
The first line is also generated by some very simple programs, but only on a ja_JP.UTF-8 locale (and not on e.g. ja_JP.eucJP or en_US.UTF-8). Take this program, for example:
#include <stdio.h>
int main() { printf( "test\n" ); }
Using a file compiled using i586-mingw32msvc-gcc, I get the following output for different locales:
test@localhost:~/.wine/drive_c/c$ LANG=ja_JP.UTF-8 wine test.exe fixme:msvcrt:_setmbcp trail bytes data not available for DBCS codepage 0 - assuming all bytes test test@localhost:~/.wine/drive_c/c$ LANG=ja_JP.eucJP wine test.exe test test@localhost:~/.wine/drive_c/c$ LANG=en_US.UTF-8 wine test.exe test test@localhost:~/.wine/drive_c/c$ LANG=en_US.ISO8859-1 wine test.exe test test@localhost:~/.wine/drive_c/c$ LANG=zh_TW.UTF-8 wine test.exe test test@localhost:~/.wine/drive_c/c$ LANG=zh_TW.eucTW wine test.exe test test@localhost:~/.wine/drive_c/c$