aboutsummaryrefslogtreecommitdiff
path: root/ge.c
diff options
context:
space:
mode:
Diffstat (limited to 'ge.c')
-rw-r--r--ge.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ge.c b/ge.c
index d96c37a..10d0c00 100644
--- a/ge.c
+++ b/ge.c
@@ -22,6 +22,7 @@
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
+#include <locale.h>
#include <libgen.h>
#include <signal.h>
#include <string.h>
@@ -205,6 +206,8 @@ main(int argc, char **argv)
char path[PATH_MAX];
int ch;
+ setlocale(LC_CTYPE, "");
+
logger_init();
conf.port = 1965;
conf.protos = TLS_PROTOCOL_TLSv1_2 | TLS_PROTOCOL_TLSv1_3;