Debug.
authorCarl Hetherington <cth@carlh.net>
Thu, 2 Mar 2023 11:05:52 +0000 (12:05 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 2 Mar 2023 11:05:52 +0000 (12:05 +0100)
test/asset_test.cc

index f4f1fd28ef7edbeaac39ecd91c763b6a6c0a4b71..5e0d07db0ebd315fa2cb9ba9cbe5b7040497389b 100644 (file)
@@ -77,6 +77,9 @@ BOOST_AUTO_TEST_CASE(asset_from_non_ascii_path_test)
 {
        using namespace boost::filesystem;
 
+       std::locale::global (boost::locale::generator().generate (""));
+       boost::filesystem::path::imbue (std::locale ());
+
        path const dir = path("build") / "test" / "ŠŊĜ";
        path const asset_name = "pcm_95734608-5d47-4d3f-bf5f-9e9186b66afa_.mxf";
        remove_all(dir);