commit 326041e1039b80137549ba3942c0a4ec7cac0ca9 parent d61137ac4ded28def38d3e2f091f8bd47d3e2b02 Author: hhvn <dev@hhvn.uk> Date: Wed, 17 Nov 2021 21:32:08 +0000 ui.c: force utf-8 Diffstat:
M | ui.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui.c b/ui.c @@ -87,7 +87,7 @@ ui_tls_error_(char *file, int line, struct tls *ctx, char *str) { void ui_init(void) { - setlocale(LC_ALL, ""); + setlocale(LC_ALL, "en_US.UTF-8"); initscr(); start_color(); use_default_colors();