mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
Fix problem with non-ascii filenames in include inset
* src/insets/insetinclude.C (InsetInclude::getScreenLabel): use from_utf8 instead of from_ascii git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16634 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
bcb1654b15
commit
8673c7ef02
@ -318,8 +318,7 @@ docstring const InsetInclude::getScreenLabel(Buffer const &) const
|
||||
if (params_["filename"].empty())
|
||||
temp += "???";
|
||||
else
|
||||
// FIXME: We don't know the encoding of the filename
|
||||
temp += from_ascii(onlyFilename(to_utf8(params_["filename"])));
|
||||
temp += from_utf8(onlyFilename(to_utf8(params_["filename"])));
|
||||
|
||||
return temp;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user