-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: Tilesets with accents in the path cannot be used #565
Comments
On Windows, the modpack installer places the files into |
If it's not refreshed automatically, we need a refresh button 😅 |
Behavior is the same on Linux so a refresh option makes sense. |
Tested on Windows, for me everything was up-to-date after installing without restarting the client. Maybe one needs to reopen the settings window. However, selecting aviation in the settings didn't work and I had to use the "Choose another tileset" menu. |
--> #740 This is just about a refresh button, not for beta1 |
This issue happened for the SG2 game. It is heavily user-dependent.
|
I can reproduce on Wine. The trick is to add a non-ASCII character somewhere in the tileset path. For instance, a tileset called |
This prevents encoding issues. Closes longturn#565.
Use QFileInfo. This removes the need to encode the file name in the system locale by hand. See longturn#565.
QFile() provides an API that doesn't require dangerous explicit encoding conversions. See longturn#565.
We need only two character encodings: whatever the local 8-bits encoding is and UTF-8. QString provides native conversion between those so we don't need anything of our own. This also fully removes traces of past support for custom internal and data encodings -- why would anyone want this now that UTF-8 has finally taken over the world? See longturn#565.
There was an encoding issue in fileinfoname() that prevented finding files with special characters in the path (fc_stat would fail). Rewrite it using Qt APIs only. Closes longturn#565.
This prevents encoding issues. See longturn#565.
Use QFileInfo. This removes the need to encode the file name in the system locale by hand. See longturn#565.
QFile() provides an API that doesn't require dangerous explicit encoding conversions. See longturn#565.
We need only two character encodings: whatever the local 8-bits encoding is and UTF-8. QString provides native conversion between those so we don't need anything of our own. This also fully removes traces of past support for custom internal and data encodings -- why would anyone want this now that UTF-8 has finally taken over the world? See longturn#565.
There was an encoding issue in fileinfoname() that prevented finding files with special characters in the path (fc_stat would fail). Rewrite it using Qt APIs only. Closes #565.
Describe the bug
According to
kevin551
, after downloading Aviation using the Modpack installer on Windows the tileset is not found by the client.To Reproduce
Steps to reproduce the behavior:
LTEx24
Expected behavior
Aviation is visible in every possible tileset selection option.
Platform and version (please complete the following information):
LTEx24
The text was updated successfully, but these errors were encountered: