diff options
-rw-r--r-- | image/backends/tar.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/image/backends/tar.cc b/image/backends/tar.cc index 1f9c631..19d2049 100644 --- a/image/backends/tar.cc +++ b/image/backends/tar.cc @@ -44,7 +44,9 @@ public: TarBackend(const std::string &ir, const std::string &out, const std::map<std::string, std::string> &opts, CompressionType _c = None) - : BasicBackend{ir, out, opts}, comp{_c} {}; + : BasicBackend{ir, out, opts}, comp{_c} { + std::locale::global(std::locale("C.UTF-8")); + }; int prepare() override { int res; |