Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
[Linux] Double click fails to open project if path contains non-ASCII characters #1995
To rule out an oddly named folder, I'd like to see confirmation that:
And, can the project be opened from the command line using its full path?
Dolphin show the file name fine.
I guess the Polish diacritics like "ł" are the problem on some level.
Thanks for the sample text. It is being triggered here:
Had this been a UTF8 issue, the solutions proposed seemed simple, but to my surprise, I've had no luck getting them to fix the issue.
So I dug a bit deeper and stumbled upon this.... our main constructor casts the char* to QString which may be causing it per:
The proposal is to instead use:
QApplication app(argc, argv); QStringList args = app.arguments(); for(...)
But this changes our
Looks like @softrabbit and I did similar work here. I'd recommend we don't override the default encoding settings, but rather use the Qt recommended approach for reading application parameters, as if we force UTF8, we may run into issues with Windows-CP1252, etc.