aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/rspamc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/rspamc.cxx')
-rw-r--r--src/client/rspamc.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/rspamc.cxx b/src/client/rspamc.cxx
index 1c67e4167..31a4aaf24 100644
--- a/src/client/rspamc.cxx
+++ b/src/client/rspamc.cxx
@@ -31,6 +31,7 @@
#include <cstdint>
#include <cstdio>
#include <cmath>
+#include <locale>
#include "frozen/string.h"
#include "frozen/unordered_map.h"
@@ -2180,6 +2181,7 @@ int main(int argc, char **argv, char **env)
{
auto *kwattrs = g_queue_new();
+ std::locale::global(std::locale(""));
read_cmd_line(&argc, &argv);
tty = isatty(STDOUT_FILENO);