[Step Import] fix issue with non-latin characters in import path

This commit is contained in:
mwganson
2024-09-26 19:05:59 -05:00
committed by Yorik van Havre
parent de33890cd4
commit 866a274268

View File

@@ -680,7 +680,7 @@ void Application::importFrom(const char* FileName, const char* DocName, const ch
wc.setIgnoreEvents(WaitCursor::NoEvents);
Base::FileInfo File(FileName);
std::string te = File.extension();
string unicodepath = Base::Tools::escapedUnicodeFromUtf8(File.filePath().c_str());
string unicodepath = File.filePath().c_str();
unicodepath = Base::Tools::escapeEncodeFilename(unicodepath);
if (Module) {