http://bugs.winehq.org/show_bug.cgi?id=35463
Bug ID: 35463 Summary: shell32/tests shlfileop : would fail depending on locale settings Product: Wine Version: 1.7.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: litimetal@gmail.com Classification: Unclassified
run 'make test' in dlls/shell32/tests And I got -- shlfileop.c:2236: Test failed: Could not find unique multibyte representation for directory name using default codepage --
Change $LANG to [zh_CN | zh_HK | zh_TW | ja_JP].utf8 would cause this problem.
Change $LANG to en_US.utf8 would workaround it.
If change $LANG to other encoadings, more problems would appear, like zh_CN.gbk -- shlfileop.c:2236: Test failed: Could not find unique multibyte representation for directory name using default codepage shlfileop.c:2353: Test failed: The file does not exist shlfileop.c:2355: Test failed: File is not removed, ErrorCode: 3 shlfileop.c:94: Test failed: Failure to open file shlfileop.c:2361: Test failed: The file does not exist shlfileop.c:2363: Test failed: File is not removed, ErrorCode: 3 shlfileop.c:2374: Test failed: SHCreateDirectoryExW returned 2 shlfileop.c:2375: Test failed: The directory is not created shlfileop.c:2378: Test failed: Directory is not removed, ErrorCode: 3 shlfileop.c:2383: Test failed: SHCreateDirectoryExW returned 2 shlfileop.c:2384: Test failed: The directory was not created shlfileop.c:2387: Test failed: Directory is not removed, ErrorCode: 3 --