The combination of boost::locale::generator text_woarchive std::wstring and boost::log does lead to encoding problems on mingw. Find out why.