Ubuntu SDK won't launch builds from paths containing diacritics
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu SDK IDE |
New
|
Undecided
|
Unassigned |
Bug Description
If you create a new project in the latest Ubuntu SDK while the path to that project or the built folder contains diacritics the Ubuntu SDK won't run it.
Importing paths then looks like this:
QQmlImportDatab
- notice the "Lad??n??" where it should say "Ladění" instead to match the folder's name - which was btw created correctly.
It is worth mentioning that it worked with the previous versions of Ubuntu SDK (before the last big update this summer).
So either this should not be translated at all (though it would inevitably broke the old projects) or it should work even with those ugly non-ascii characters.
I suspect it has to do with usdk-target forcing C locale (in ubuntu- sdk-tools/ usdk-target/ exec.go, in run). There is a comment:
//force C locale as QtCreator needs it
Is it really needed? Why/how does QtCreator need it? Forcing C locale and thus killing UTF-8 (which is what most users would use these days I assume) looks dangerous.