Roman Fomin

Results 79 comments of Roman Fomin

> But! After I exit CD, I've found that config files aren't saved to that folder. Instead, they stored in folder with some abracadabra characters: [screenshot](https://user-images.githubusercontent.com/21193394/177491797-e201f637-7470-48c6-ae40-99e4a3ec903b.png). That's strange it works...

> I am wondering here if this console code may have somehow broken the non-Latin file path code that @rfomin contributed. @JNechaevsky do you run it in MSYS2 terminal? It's...

Wait, the code `SetConsoleOutputCP` `GetConsoleOutputCP` will be needed if someone gives non-latin names to WADs: ![2](https://user-images.githubusercontent.com/5077629/177610470-530f77b8-5cb4-43bd-b4fa-82d8a667a672.png) Otherwise, I think Chocolate Doom outputs only latin characters.

The problem is that ConEmu doesn't like `freopen("CONOUT$", "w", stdout)` code and print a random command prompt: ![3](https://user-images.githubusercontent.com/5077629/177700890-a62a3a28-4c8f-4a63-982f-43bad3ea9906.png) I suggest alternative method used by mpv player: https://github.com/mpv-player/mpv/blob/master/osdep/win32-console-wrapper.c It creates the...

> * Loading of non-latin pwad name doesn't working, must be a problem on my side. Oh, that's not good. I tested non-latin wrappers only on Windows XP, 7, 10....

> If someone would be kind enough to test out the build changes on MSYS2, I would very much appreciate it. I successfully built it on MSYS2, but for some...

> Honestly, I am not a Windows user and I don't know what quirks are required to let an application print to stdout (I mean, really?!) Windows requires a choice...

Good post from Raymond Chen on the topic: https://devblogs.microsoft.com/oldnewthing/20090101-00/?p=19643

> I am with this commenter here: Hm, I don't get it :) What is interesting is that even `devenv` (Visual Studio GUI) uses two executables trick.

@mikeday0 I tested MSYS2 build again and it works fine this time, probably I messed up somewhere earlier. In Woof https://github.com/fabiangreffrath/woof/pull/656 I have used the Unicode versions of the Win...