aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/rspamc.cxx
diff options
context:
space:
mode:
authorLeftTry <lerest.go@gmail.com>2024-09-29 12:23:55 +0600
committerLeftTry <lerest.go@gmail.com>2024-09-29 12:23:55 +0600
commit36cceb7c02e9d2020239a8b008b234fc4bd26b48 (patch)
treea735c3b60bc8e71f4ec9e8447c68c5bd72b2bd6c /src/client/rspamc.cxx
parentc4386c6ab0d649d3b999f0cf98f6fccea9212ce5 (diff)
parent6ed56a333ca7ef1b2a5a007d67fda0759af1a280 (diff)
downloadrspamd-36cceb7c02e9d2020239a8b008b234fc4bd26b48.tar.gz
rspamd-36cceb7c02e9d2020239a8b008b234fc4bd26b48.zip
Merge remote-tracking branch 'origin/master'
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);