geany / geany

A fast and lightweight IDE
https://www.geany.org
GNU General Public License v2.0
3.12k stars 602 forks source link

Files open empty if they have cyrillic words in the path. #3936

Open HongYue1 opened 2 months ago

HongYue1 commented 2 months ago

image pressing ok would simply open the directory above the one with Cyrillic name.

Nideli commented 2 months ago

Sorry, I personally can't repeat this mistake, you have it exactly the same with all files that contain cyrillic words in their path?

elextr commented 2 months ago

Possibly @HongYue1 had a mismatch between locale and hence expected encoding of filenames between Explorer, Geany and the filesystem but without more details its not possible to help further.

HongYue1 commented 2 months ago

Sorry, I personally can't repeat this mistake, you have it exactly the same with all files that contain cyrillic words in their path?

I have just test more files and I found that this only happens when a path has non latin characters in it, e.g. Arabic and cyrillic, and that word would be represented by ????? in message status window, another example 06:49:18: File D:\Media\???? remix\file.txt closed. where path is D:\Media\Кино remix\file.txt

HongYue1 commented 2 months ago

Possibly @HongYue1 had a mismatch between locale and hence expected encoding of filenames between Explorer, Geany and the filesystem but without more details its not possible to help further.

My locale is English(US) and Country is set to United States and also I have the language Pack of all these three languages installed.

I will try enabling UTF-8 unicode in system locale and see if it will fix anything.