diff --git a/main/source/window/window.cpp b/main/source/window/window.cpp index 5cfd4226b..6b68fd980 100644 --- a/main/source/window/window.cpp +++ b/main/source/window/window.cpp @@ -47,8 +47,8 @@ namespace hex { static void saveCrashFile(){ nlohmann::json crashData{ - {"logFile", hex::log::getFile().getPath()}, - {"project", ProjectFile::getPath()}, + {"logFile", wolv::util::toUTF8String(hex::log::getFile().getPath())}, + {"project", wolv::util::toUTF8String(ProjectFile::getPath())}, }; for (const auto &path : fs::getDefaultPaths(fs::ImHexPath::Config)) {