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 b59c8ec commit 13b6116Copy full SHA for 13b6116
lib/std/start.zig
@@ -214,7 +214,7 @@ extern "kernel32" fn ExitProcess(exit_code: u32) callconv(.C) noreturn;
214
/// into being a sane environment
215
inline fn setupWindows() void {
216
if (std.options.windows_force_utf8_codepage) {
217
- _ = std.os.windows.kernel32.SetConsoleOutputCP(65001); // use UTF-8 codepage
+ std.os.windows.setConsoleCodePage(std.os.windows.CP_UTF8, .output) catch {};
218
}
219
220
0 commit comments