From 8673c7ef02281b255627ed207947f34471e86160 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 10 Jan 2007 00:30:49 +0000 Subject: [PATCH] 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 --- src/insets/insetinclude.C | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/insets/insetinclude.C b/src/insets/insetinclude.C index c53a8330a9..36d745ffaa 100644 --- a/src/insets/insetinclude.C +++ b/src/insets/insetinclude.C @@ -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; }