aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-08-05 00:18:06 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-05 00:18:06 +0200
commitea7bc817764f343192ef44c9d1a78335eca3ec12 (patch)
treead1e0781c1fbe7453181248bb076bca5660a37c9 /src/main.c
parent14d0e432238f058d7bc854e5051ee2bcec6e2b62 (diff)
Locale...
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 3c6c5c4..c300253 100644
--- a/src/main.c
+++ b/src/main.c
@@ -14,6 +14,7 @@
#include <stdlib.h>
#include <string.h>
#include <limits.h>
+#include <locale.h>
#include <assert.h>
#include <dirent.h>
@@ -600,6 +601,8 @@ int main(int argc, char **argv) {
if(argc < 2)
usage();
+ setlocale(LC_ALL, "C");
+
const char *home_dir = get_home_dir();
char rss_config_dir[PATH_MAX];