__adjustPath does not work with the unicode strings that have been introduced with Python 3. Reproducible: Always
Created attachment 75752 [details] Decode to byte array and re-encode result Probably needs to be cleaned up, I'm just assuming iso-8859-15 / utf-8.
Thank you for your investigation. See my comments below: 1) decode is a noop as of now. :-) 2) Perhaps it would make more sense to use c_wchar_p and windll.kernel32.GetShortPathNameW(...).
Hi Laszlo! Good suggestion, I updated the patch accordingly.
Created attachment 75795 [details] Use c_wchar_p, a unicode- instead of a byte buffer and the unicode equivalents of the winapi
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
The KDE Windows Bugzilla product is no longer maintained. If you have issues with some application on Windows, please report the issue at the bugtracker of the application. If you have issues that still persist with Craft itself, please report them here: https://invent.kde.org/packaging/craft/-/issues