[Bug 38888] New: DDE cannot deal with Chinese path

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 9 03:52:33 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38888

            Bug ID: 38888
           Summary: DDE cannot deal with Chinese path
           Product: Wine
           Version: 1.7.46
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: user32
          Assignee: wine-bugs at winehq.org
          Reporter: jactry92 at gmail.com
      Distribution: ---

Created attachment 51824
  --> https://bugs.winehq.org/attachment.cgi?id=51824
dde_testcase.exe

reproduce:

1. $ touch ~/.wine/drive_c/测试.jpg
2. Change "[HKEY_CLASSES_ROOT\jpegfile\shell\open\command]" to
"C:\windows\system32\winebrowser.exe" "-nohome"
3. $ wine dde_testcase.exe

Expected:
测试.jpg will be opened by native picture viewer which winebrowser find.

Actually:
Didn't open 测试.jpg.

And from log with '+exec,+winebrowser' we can know that winebrowser didn't get
the right path from dde:
---snip---
trace:winebrowser:ddeCb dde_cb: 1062, 0000, 0x0, 0xc001, 0xc000, 0x0, 0033f4a0,
00000000
trace:winebrowser:ddeCb dde_cb: 8072, 0000, 0x1483c0, 0xc001, 0xc000, 0x0,
0033f4a0, 00000000
trace:exec:SHELL_ArgifyW 0x63bb48, 256, L"\"file:%1\",,-1,,,,,",
L"C:\\\6d4b\8bd5.jpg", 0x0, 0x63d510
trace:exec:SHELL_ArgifyW used 26 of 256 space
trace:exec:dde_connect L"\"file:%1\",,-1,,,,," L"C:\\\6d4b\8bd5.jpg" =>
L"\"file:C:\\\6d4b\8bd5.jpg\",,-1,,,,,"
trace:winebrowser:ddeCb dde_cb: 4050, 0000, 0x1483c0, 0xc001, 0x0, 0x147f4a,
00000000, 00000000
err:winebrowser:get_url_from_dde Unable to retrieve URL from string L"\""
trace:exec:SHELL_execute retval 33
err:winebrowser:wmain Usage: winebrowser URL

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list