https://bugs.winehq.org/show_bug.cgi?id=52973
Bug ID: 52973 Summary: A file containing special characters in its name is unreadable/unusable Product: Wine Version: 7.7 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: aros@gmx.com Distribution: ---
Steps to reproduce:
1) Create a file name
[start]0x20 0xE2 0x80 0x93 0x20[end]
2) Windows applications will only show it as:
[start] b
No idea where "b" comes from.
3) Trying to open will result in: File not found.
Here's a sample name:
[1 – 2.txt]
Will be listed as:
[1 b]
https://bugs.winehq.org/show_bug.cgi?id=52973
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |download, source Severity|major |normal Status|UNCONFIRMED |NEW CC| |imwellcushtymelike@gmail.co | |m
--- Comment #1 from Ken Sharp imwellcushtymelike@gmail.com --- Which Windows applications?
cmd has no apparent trouble with these filenames. "type" works fine.
notepad on the other hand, couldn't even see "[start]0x20 0xE2 0x80 0x93 0x20[end]" in the Open File box.
0100:trace:file:append_entry long L"[start]0x20 0xE2 0x80 0x93 0x20[end]" short L"_STA~GFS" mask L"*"
0100:trace:file:init_cached_dir_data L"[start]0x20 0xE2 0x80 0x93 0x20[end]" L"_STA~GFS"
0100:trace:file:FindNextFileW returning L"[start]0x20 0xE2 0x80 0x93 0x20[end]" (L"_STA~GFS")
If I enter the name into the Open File box then the file opens without issue. I can edit and save the changes too.
However, it can see a directory with the same name.
I had no issues at all with [1 – 2.txt]. Which applications have you tested this with?
https://bugs.winehq.org/show_bug.cgi?id=52973
--- Comment #2 from Artem S. Tashkinov aros@gmx.com --- (In reply to Ken Sharp from comment #1)
Which Windows applications?
Notepad and other Windows applications as well.
https://bugs.winehq.org/show_bug.cgi?id=52973
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #3 from Zeb Figura z.figura12@gmail.com --- (In reply to Artem S. Tashkinov from comment #0)
Steps to reproduce:
- Create a file name
[start]0x20 0xE2 0x80 0x93 0x20[end]
To clarify, is the name of the file spelled out with those hex characters, or does it begin and end with a space? I.e., if interpreted as UTF-8, is the name of the file " — "?
https://bugs.winehq.org/show_bug.cgi?id=52973
Artem S. Tashkinov aros@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #4 from Artem S. Tashkinov aros@gmx.com --- Looks like it's fixed in Wine 7.9.
https://bugs.winehq.org/show_bug.cgi?id=52973
--- Comment #5 from Ken Sharp imwellcushtymelike@gmail.com ---
notepad on the other hand, couldn't even see "[start]0x20 0xE2 0x80 0x93 0x20[end]" in the Open File box.
There's still this though, if it's different to Windows behaviour.
https://bugs.winehq.org/show_bug.cgi?id=52973
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.10.