https://bugs.winehq.org/show_bug.cgi?id=46755
Bug ID: 46755 Summary: File paths with non-ASCII characters (umlauts) broken in Wine apps Product: Wine Version: 4.2 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: debilerpc@web.de Distribution: ---
Created attachment 63761 --> https://bugs.winehq.org/attachment.cgi?id=63761 locale
This only started occuring after I updated wine to 4.2-1
My OS is Arch Linux, 64 bit.
Noticed it in Foobar2000. Playlist that contain songs with file paths that contain German umlauts or other non-ASCII characters skip over those songs when trying to play them with an error like this:
Unable to open item for playback (bad exception): "E:\files\sonofevil\Music\Musik\Schönberg, Arnold\Boulez conducts Schönberg\CD 01\07 - 3 Pieces for Chamber Orchestra - II. Máige Viertel.flac"
This seems to be because to Wine this Item doesn't seem to exist. That's because when Wine accesses the file system, non-ASCII characters are automatically interpreted as something like this:
...\Schönberg, Arnold...
As I found by browsing for that folder using the "wine explorer" file browser. In native Linux apps, the file paths work just fine on the other hand, with the directory being shown as "Schönberg, Arnold" everywhere. The problem only occurs in Wine apps.
So when it tries to access the directory specified in the Foobar playlist as "Schönberg, Arnold" it concludes that this folder doesn't exist.
Note that on the side of the app everything is seemingly fine. The non-ASCII characters are read and displayed correctly in Foobar, it's just when Foobar asks Wine whether the file exists, Wine gives the wrong response because whatever does the file accessing in Wine can't handle those characters.
Solutions on the internet for problems like this tell you to fix the locale variables, but my locale settings seem to be perfectly fine.