mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Set CP_UTF8 to underlying number.
This commit is contained in:
@@ -43,8 +43,8 @@ int main_real(int argc, const char *argv[])
|
||||
#endif
|
||||
#if PLATFORM_WINDOWS
|
||||
// Set the console input and output codepage to utf8 to handle utf8 text correctly
|
||||
SetConsoleCP(CP_UTF8);
|
||||
SetConsoleOutputCP(CP_UTF8);
|
||||
SetConsoleCP(65001);
|
||||
SetConsoleOutputCP(65001);
|
||||
#endif
|
||||
bench_begin();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user