diff --git a/src/tests/common_game_test_fixture.h b/src/tests/common_game_test_fixture.h index 91b0ef33..97212228 100644 --- a/src/tests/common_game_test_fixture.h +++ b/src/tests/common_game_test_fixture.h @@ -176,11 +176,11 @@ protected: it != std::filesystem::directory_iterator(); ++it) { if (std::filesystem::is_regular_file(it->status())) { - std::string filename = it->path().filename().string(); + std::string filename = it->path().filename().u8string(); if (filename == nonPluginFile) continue; if (boost::ends_with(filename, ".ghost")) - filename = it->path().stem().string(); + filename = it->path().stem().u8string(); if (boost::ends_with(filename, ".esp") || boost::ends_with(filename, ".esm")) loadOrder.emplace(std::filesystem::last_write_time(it->path()),