mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +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
|
#endif
|
||||||
#if PLATFORM_WINDOWS
|
#if PLATFORM_WINDOWS
|
||||||
// Set the console input and output codepage to utf8 to handle utf8 text correctly
|
// Set the console input and output codepage to utf8 to handle utf8 text correctly
|
||||||
SetConsoleCP(CP_UTF8);
|
SetConsoleCP(65001);
|
||||||
SetConsoleOutputCP(CP_UTF8);
|
SetConsoleOutputCP(65001);
|
||||||
#endif
|
#endif
|
||||||
bench_begin();
|
bench_begin();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user