aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 906f0d37..f47fa036 100644
--- a/main.c
+++ b/main.c
@@ -310,7 +310,7 @@ main(int argc, char *const *argv)
return ret;
}
- setlocale(LC_ALL, "");
+ setlocale(LC_CTYPE, "");
LOG_INFO("locale: %s", setlocale(LC_CTYPE, NULL));
if (!locale_is_utf8()) {
LOG_ERR("locale is not UTF-8");