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
|
||||
|
||||
@@ -140,7 +140,7 @@ def InitApplications():
|
||||
Log(traceback.format_exc())
|
||||
Log('-'*100+'\n')
|
||||
Err('During initialization the error ' + str(inst) + ' occurred in ' + InstallFile + '\n')
|
||||
Err('Please look into the log file for further information')
|
||||
Err('Please look into the log file for further information\n')
|
||||
else:
|
||||
Log('Init: Initializing ' + Dir + '... done\n')
|
||||
else:
|
||||
|
||||
@@ -124,7 +124,7 @@ def InitApplications():
|
||||
Log(traceback.format_exc())
|
||||
Log('-'*100+'\n')
|
||||
Err('During initialization the error ' + str(inst) + ' occurred in ' + InstallFile + '\n')
|
||||
Err('Please look into the log file for further information')
|
||||
Err('Please look into the log file for further information\n')
|
||||
else:
|
||||
Log('Init: Initializing ' + Dir + '... done\n')
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user