zecruel / CadZinho

Minimalist computer aided design (CAD) software
MIT License
177 stars 28 forks source link

windows-app crashes with cyrillic directories on a screen in file-manager #13

Open ant-tv opened 2 years ago

ant-tv commented 2 years ago

Tried to open test file on window. The file located in a directory with cyrillic symbols in the address. So when I browse to the file location the app freezes and crashes

zYg-sys commented 2 years ago

it's a crt locale problem. working on it.

which version of windows are you using?

zYg-sys commented 2 years ago

mingw or msvc build?

ant-tv commented 2 years ago

win7 max

msvc version

zYg-sys commented 2 years ago

setlocale(LC_ALL,".UTF8"); in main.c can fix this on win10. you also need add a truetype font config.lua. and set ui_font to this font.

dumblob commented 2 years ago

@ant-tv did you manage to make it work?

If there are any deeper issues, chances are it has something to do with Nuklear in which case don't hesitate and report in our Nuklear issue tracker :wink:.

ant-tv commented 2 years ago

Not tested so far Maybe later

-------- Исходное сообщение -------- В 17 дек. 2021 г., 11:42, dumblob написано:

@.***(https://github.com/ant-tv) did you manage to make it work?

If there are any deeper issues, chances are it has something to do with Nuklear in which case don't hesitate and report in our Nuklear issue tracker 😉.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you were mentioned.Message ID: @.***>