[Bug 46755] File paths with non-ASCII characters (umlauts) broken in Wine apps

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 22 17:18:31 CDT 2019


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

--- Comment #9 from Olivier F. R. Dierick <o.dierick at piezo-forte.be> ---
Hello,

(In reply to Daniil Zhilin from comment #7)
> Created attachment 64239 [details]
> WINEDEBUG=+file output

I found this in your log:
--- output ---
(...)
0033:trace:file:CreateFileW
L"\\\\?\\Z:\\home\\daniil\\real_home\\Music\\Sch\00c3\00b6nberg, Arnold\\Boulez
conducts Sch\00c3\00b6nberg\\CD 01\\07 - 3 Pieces for Chamber Orchestra - II.
M\00c3\00a1ige Viertel.flac" GENERIC_READ FILE_SHARE_READ  creation 3
attributes 0x40000000
0033:trace:file:RtlDosPathNameToNtPathName_U_WithStatus
(L"\\\\?\\Z:\\home\\daniil\\real_home\\Music\\Sch\00c3\00b6nberg,
Arnold\\Boulez conducts Sch\00c3\00b6nberg\\CD 01\\07 - 3 Pieces for Chamber
Orchestra - II. M\00c3\00a1ige Viertel.flac",0xbc8f5b4,(nil),(nil))
(...)
0033:trace:file:wine_nt_to_unix_file_name
L"\\??\\Z:\\home\\daniil\\real_home\\Music\\Sch\00c3\00b6nberg, Arnold\\Boulez
conducts Sch\00c3\00b6nberg\\CD 01\\07 - 3 Pieces for Chamber Orchestra - II.
M\00c3\00a1ige Viertel.flac" ->
"/home/daniil/.wine/dosdevices/z:/home/daniil/real_home/Music/Sch\xc3\xb6nberg,
Arnold/Boulez conducts Sch\xc3\xb6nberg/CD 01/07 - 3 Pieces for Chamber
Orchestra - II. M\xc3\xa1ige Viertel.flac"
(...)
--- end output ---

Mine is like this:
--- output ---
(...)
0036:trace:file:CreateFileW L"\\\\?\\Z:\\home\\olivier\\Musique\\Sch\00f6nberg,
Arnold\\Boulez conducts Sch\00f6nberg\\CD 01\\07 - 3 Pieces for Chamber
Orchestra - II. M\00e1ige Viertel.mp3" GENERIC_READ FILE_SHARE_READ  creation 3
attributes 0x40000000
0036:trace:file:RtlDosPathNameToNtPathName_U_WithStatus
(L"\\\\?\\Z:\\home\\olivier\\Musique\\Sch\00f6nberg, Arnold\\Boulez conducts
Sch\00f6nberg\\CD 01\\07 - 3 Pieces for Chamber Orchestra - II. M\00e1ige
Viertel.mp3",0x1d8f624,(nil),(nil))
0036:trace:file:wine_nt_to_unix_file_name
L"\\??\\Z:\\home\\olivier\\Musique\\Sch\00f6nberg, Arnold\\Boulez conducts
Sch\00f6nberg\\CD 01\\07 - 3 Pieces for Chamber Orchestra - II. M\00e1ige
Viertel.mp3" -> "/home/olivier/var/Wine.sh/Apps/foobar2000
v1.4.3.wine/dosdevices/z:/home/olivier/Musique/Sch\xc3\xb6nberg, Arnold/Boulez
conducts Sch\xc3\xb6nberg/CD 01/07 - 3 Pieces for Chamber Orchestra - II.
M\xc3\xa1ige Viertel.mp3"
(...)
--- end output ---

Notice the difference in non-ASCII characters encoding of the filename passed
to the functions (Sch\00c3\00b6nberg versus Sch\00f6nberg).
U+00f6 is Unicode code point and c3 b6 the utf-8 hexadecimal representation of
'รถ'.

This discussion on archlinux forums seems somewhat related:
https://bbs.archlinux.org/viewtopic.php?id=149043

What is the content of your /etc/fstab (for the partition where the audio files
are stored)?

-- 
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