mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-06-29 04:35:05 +00:00
Locale fix for Windows (#1379)
This commit is contained in:
@ -520,8 +520,9 @@ void console_init(console_state & con_st) {
|
|||||||
if (con_st.tty != nullptr) {
|
if (con_st.tty != nullptr) {
|
||||||
con_st.out = con_st.tty;
|
con_st.out = con_st.tty;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void console_cleanup(console_state & con_st) {
|
void console_cleanup(console_state & con_st) {
|
||||||
|
Reference in New Issue
Block a user