Qt build problem with accents
-
Hi, first of all, when trying to set my name on this forum the page refused to accept the "é" in Téo so I had to name myself Teo. This is a really awkward behavior to have in 2023, 30 years after the first release of the UTF-8 standard.
Secondly, I am having a compilation error on my project because lupdate is looking for a file at C:/Users/Téo/Documents/[...]/typicaldiagramselectionwidget.ui instead of C:/Users/Téo/Documents/[...]/typicaldiagramselectionwidget.ui.
lupdate error: File 'C:/Users/Téo/Documents/[...]/typicaldiagramselectionwidget.ui' does not exist.
This is also very awkward for the same reasons. I don't expect the forum to be fixed but is there any way to fix my compilation error without moving the whole project to a path without accents ?
-
Hi, first of all, when trying to set my name on this forum the page refused to accept the "é" in Téo so I had to name myself Teo. This is a really awkward behavior to have in 2023, 30 years after the first release of the UTF-8 standard.
Secondly, I am having a compilation error on my project because lupdate is looking for a file at C:/Users/Téo/Documents/[...]/typicaldiagramselectionwidget.ui instead of C:/Users/Téo/Documents/[...]/typicaldiagramselectionwidget.ui.
lupdate error: File 'C:/Users/Téo/Documents/[...]/typicaldiagramselectionwidget.ui' does not exist.
This is also very awkward for the same reasons. I don't expect the forum to be fixed but is there any way to fix my compilation error without moving the whole project to a path without accents ?
What you have in the path is a UTF8 encoded file name being treated as if it is Win-1252 encoded (ISO 8859-1 Latin 1) or similar. This is likely a Windows code page issue, and a very common issue on Windows.
Does the file path look right in a
DIR C:\Users
output?
Does that change, or your build change, if you executechcp 65001
(which sets a somewhat limited UTF-8 encoding) in the CMD your run make from?