diff --git a/src/Gui/Application.cpp b/src/Gui/Application.cpp index dc63e2e172..eb3ef7a271 100644 --- a/src/Gui/Application.cpp +++ b/src/Gui/Application.cpp @@ -2295,7 +2295,8 @@ void Application::runApplication(void) flock->lock(); } catch (const boost::interprocess::interprocess_exception& e) { - Base::Console().Warning("Failed to create a file lock for the IPC: %s\n", e.what()); + QString msg = QString::fromLocal8Bit(e.what()); + Base::Console().Warning("Failed to create a file lock for the IPC: %s\n", msg.toUtf8().constData()); } Base::Console().Log("Init: Executing event loop...\n"); @@ -2457,7 +2458,8 @@ void Application::checkForPreviousCrashes() } } catch (const boost::interprocess::interprocess_exception& e) { - Base::Console().Warning("Failed check for previous crashes because of IPC error: %s\n", e.what()); + QString msg = QString::fromLocal8Bit(e.what()); + Base::Console().Warning("Failed check for previous crashes because of IPC error: %s\n", msg.toUtf8().constData()); } }