issue #0002973: Path to FreeCAD.app can't contain unicode
This commit is contained in:
@@ -2473,7 +2473,8 @@ std::string Application::FindHomePath(const char* sCall)
|
||||
#else
|
||||
QString str = QString::fromStdWString(homePath);
|
||||
#endif
|
||||
return str.toStdString();
|
||||
// convert to utf-8
|
||||
return str.toUtf8().data();
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user