str = subst(str, home, "~");
if (str.length() <= threshold)
- return lyx::from_utf8(os::external_path(str));
+ return from_utf8(os::external_path(str));
string const prefix = ".../";
string temp;
str = head + "..." + tail;
}
- return lyx::from_utf8(os::external_path(prefix + str));
+ return from_utf8(os::external_path(prefix + str));
}
<< "kpse result = `" << rtrim(c.second, "\n\r")
<< '\'' << endl;
if (c.first != -1)
- return FileName(os::internal_path(rtrim(c.second, "\n\r")));
+ return FileName(os::internal_path(rtrim(to_utf8(from_filesystem8bit(c.second)),
+ "\n\r")));
else
return FileName();
}