From 1229e295ef05a6c0c3ed97231335713a8df4884f Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 21 May 2021 04:10:11 +0200 Subject: [PATCH] Set locale for std::cerr. --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index f37062c..415c69c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -43,6 +43,7 @@ int main(int argc, char *argv[]) locale_generator.add_messages_domain("epubgrep"); std::locale::global(locale_generator("")); cout.imbue(std::locale()); + cerr.imbue(std::locale()); po::variables_map vm; try