http://bugs.winehq.org/show_bug.cgi?id=4478
------- Additional Comments From cnbiz850@sohu.com 2006-04-02 22:05 ------- Thanks for the response.
The local I am using is as follows:
$ locale LANG=zh_CN.UTF-8 LANGUAGE=zh_CN.UTF-8 LC_CTYPE="zh_CN.UTF-8" LC_NUMERIC="zh_CN.UTF-8" LC_TIME="zh_CN.UTF-8" LC_COLLATE="zh_CN.UTF-8" LC_MONETARY="zh_CN.UTF-8" LC_MESSAGES="zh_CN.UTF-8" LC_PAPER="zh_CN.UTF-8" LC_NAME="zh_CN.UTF-8" LC_ADDRESS="zh_CN.UTF-8" LC_TELEPHONE="zh_CN.UTF-8" LC_MEASUREMENT="zh_CN.UTF-8" LC_IDENTIFICATION="zh_CN.UTF-8" LC_ALL=
The program I am trying to port to Wine is actually not mine and it is a very popular stock analysis program in China (please refer to my original post). The filenames it tries to create depends on, I guess, the name of the listed company, etc. Though I can not guarantee the problem is due to Chinese filenames, the following messages I cut from the log file seem to indicate it.
------------------------ warn:ntdll:NtCreateFile L"\??\E:\fxj\DATA\SH\NOTE\" not found (c0000034) warn:file:wine_nt_to_unix_file_name L"NOTE\" not found in /home/djia/.wine/dosdevices/e:/fxj/data/sz warn:ntdll:NtCreateFile L"\??\E:\fxj\DATA\SZ\NOTE\" not found (c0000034) warn:file:wine_nt_to_unix_file_name L"NOTE\" not found in /home/djia/.wine/dosdevices/e:/fxj/data/$$ warn:ntdll:NtCreateFile L"\??\E:\fxj\DATA\$$\NOTE\" not found (c0000034) -------------------
Interestingly, I did a "wine notepad" in the default locale as well as "LANG=zh_CN.gb18030 wine notepad" as you suggested and saved to a Chinese filename (though I can't type Chinese under Wine, I simply copied a Chinese word from a webpage), and then I did "ls" in the xterm, you only find something like "???.txt", etc., whereis if you use gedit to save a file, the Chinese filename appears corrently on the xterm.
Hope this is better understood.