[Step Import] fix issue with non-latin characters in import path
This commit is contained in:
committed by
Yorik van Havre
parent
de33890cd4
commit
866a274268
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user