23 Jun
2017
23 Jun
'17
9:12 a.m.
So probably I need to return the previous locale
which is returned already by boost::filesystem::path::imbue, good?
but then we get: auto old_loc = boost::nowide::nowide_filesystem(); // by the way, why repeat nowide? ... boost::filesystem::imbue(old_loc); What about the following symmetrical approach: auto old_loc = boost::filesystem::imbue(boost::nowide::locale()); ... boost::filesystem::imbue(old_loc); Frédéric