Try SetConsoleOutputCP
Thanks for the help, have a good day. Nvm, messed up win config, setted now a correct CP (1252)
Thanks, tried Nvm, console encoding is just messed up win configs. But path problem is still persists
Try using WinCPToUTF8/UTF8ToWinCP for valid encoding
Seems that GetExeName and other standard functions lead to data loss, so i must use WinAPI directly instead of them?
Solved, somehow Windows do not recognizes this app properly and passes everything in CP 850 Setted also back-up language in intl.cpl, now works correctly
Обсуждают сегодня