Set locale for std::cerr.
This commit is contained in:
parent
1a80f770ff
commit
1229e295ef
|
@ -43,6 +43,7 @@ int main(int argc, char *argv[])
|
||||||
locale_generator.add_messages_domain("epubgrep");
|
locale_generator.add_messages_domain("epubgrep");
|
||||||
std::locale::global(locale_generator(""));
|
std::locale::global(locale_generator(""));
|
||||||
cout.imbue(std::locale());
|
cout.imbue(std::locale());
|
||||||
|
cerr.imbue(std::locale());
|
||||||
|
|
||||||
po::variables_map vm;
|
po::variables_map vm;
|
||||||
try
|
try
|
||||||
|
|
Loading…
Reference in New Issue
Block a user