We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f759dc4 commit 68df15cCopy full SHA for 68df15c
examples/common.cpp
@@ -318,13 +318,8 @@ void win32_console_init(bool enable_color) {
318
}
319
void* hConIn = GetStdHandle((unsigned long)-10); // STD_INPUT_HANDLE (-10)
320
if (hConIn && hConIn != (void*)-1 && GetConsoleMode(hConIn, &dwMode)) {
321
-#if 0
322
- // Set console input codepage to UTF8
323
- SetConsoleCP(CP_UTF8);
324
-#else
325
// Set console input codepage to UTF16
326
_setmode(_fileno(stdin), _O_WTEXT);
327
-#endif
328
329
330
0 commit comments