Set locale for std::cerr.

This commit is contained in:
tastytea 2021-05-21 04:10:11 +02:00
parent 1a80f770ff
commit 1229e295ef
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 0 deletions

View File

@ -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