From a62e2b89133d631b847b100bce7005565b7c2717 Mon Sep 17 00:00:00 2001 From: Danny Daemonic Date: Tue, 9 May 2023 09:54:17 -0700 Subject: [PATCH] Locale fix for Windows --- examples/common.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/common.cpp b/examples/common.cpp index 23d69e7d5..7aa77587b 100644 --- a/examples/common.cpp +++ b/examples/common.cpp @@ -520,8 +520,9 @@ void console_init(console_state & con_st) { if (con_st.tty != nullptr) { con_st.out = con_st.tty; } -#endif + setlocale(LC_ALL, ""); +#endif } void console_cleanup(console_state & con_st) {