Page 1 of 2
Cannot open Projects when path contains umlauts.
Posted: Thu May 05, 2022 10:42 am
by Thomas_St
Cloudcompare seems to have problems opening projects if their path contains umlauts like "ä", "ö" or "ü" (German language).
See the attached picture
- Screenshot
- Unbenannt.PNG (53.74 KiB) Viewed 37061 times
Best regards
Thomas
Re: Cannot open Projects when path contains umlauts.
Posted: Sat May 07, 2022 12:24 pm
by daniel
Ah, sadly I can't reproduce this issue on my side (and I already test Cyrillic, Japanese and French specific characters, so I added German ones ;).
Do you have the same issue with a very simple folder (such as "C:\Temp\äöü.bin")
Re: Cannot open Projects when path contains umlauts.
Posted: Sun May 08, 2022 2:45 pm
by Thomas_St
Hey Daniel,
Ah, sadly I can't reproduce this issue on my side
I tried it again at home with an older version of CC
and there was
no issue!
Then i installed the most current version
and i was able to reproduce the issue again:
I installed this version:
https://www.danielgm.net/cc/release/Clo ... up_x64.exe
Best regards
Thomas
Re: Cannot open Projects when path contains umlauts.
Posted: Tue May 10, 2022 6:08 pm
by daniel
Hum, how strange... especially with a BIN file, as Qt is handling everything from A to Z, I really don't see why this would have changed or why special characters would matter.
Re: Cannot open Projects when path contains umlauts.
Posted: Wed May 11, 2022 3:51 pm
by Thomas_St
So you were able to reproduce the issue now?
Re: Cannot open Projects when path contains umlauts.
Posted: Sat May 14, 2022 9:15 am
by daniel
Ah no, still works on my side!
Can you paste here the exact filename? (hopefully, the forum will preserve the encoding...)
Re: Cannot open Projects when path contains umlauts.
Posted: Sat May 14, 2022 9:27 am
by Thomas_St
I've attached a ZIP file with two BIN-files containing umlauts.
Their names are:
Änderung_Test.bin
Testübersicht.bin
If you rename them, there is no problem. For me, it is not a workaraound, because our paths on the server contain umlauts.
Re: Cannot open Projects when path contains umlauts.
Posted: Sat May 14, 2022 10:25 am
by daniel
I confirm it loads fine on my side. I tested with 2 computers, one with a French installation of Windows, and the other with a US version.
Re: Cannot open Projects when path contains umlauts.
Posted: Sat May 14, 2022 4:46 pm
by Thomas_St
Hey Daniel,
I honestly didn't expect it to work for you.
But I have found the error in the meantime. Windows 11 does not seem to have UTF8 encoding enabled by default. But this can be activated manually and after that everything works fine.
However, that doesn't explain why the same problem occurs on my Windows 10 PC at work. After all, it worked with the alpha version of Cloudcomapre that I had previously installed. However, I will check on Monday at work to see if there is also a way to enable UTF8 encoding there (however, the PC is in a domain).
Here is a video that shows the problem and also the solution (for Windows 11):
https://youtu.be/_o4e_otFims
Greetings
Thomas
Re: Cannot open Projects when path contains umlauts.
Posted: Sun May 15, 2022 4:08 am
by daniel
Are you double clicking on the file in the explorer or are you loading the file (or drag & drop on a 3D view)? I realize that if you are double clicking on the file and asking Windows to launch CC to open the file, the encoding is not preserved.