diff --git a/src/frontends/qt4/GuiHyperlink.cpp b/src/frontends/qt4/GuiHyperlink.cpp index f030b8ec95..7cb9cc61d4 100644 --- a/src/frontends/qt4/GuiHyperlink.cpp +++ b/src/frontends/qt4/GuiHyperlink.cpp @@ -81,7 +81,7 @@ docstring GuiHyperlink::dialogToParams() const else if (fileRB->isChecked()) params["type"] = qstring_to_ucs4("file:"); params.setCmdName("href"); - return from_ascii(InsetHyperlink::params2string(params)); + return from_utf8(InsetHyperlink::params2string(params)); } diff --git a/src/frontends/qt4/GuiLabel.cpp b/src/frontends/qt4/GuiLabel.cpp index d888ae07d8..5d1ea4a3ef 100644 --- a/src/frontends/qt4/GuiLabel.cpp +++ b/src/frontends/qt4/GuiLabel.cpp @@ -54,7 +54,7 @@ docstring GuiLabel::dialogToParams() const { InsetCommandParams params(insetCode()); params["name"] = qstring_to_ucs4(keywordED->text()); - return from_ascii(InsetLabel::params2string(params)); + return from_utf8(InsetLabel::params2string(params)); } diff --git a/src/frontends/qt4/GuiNomenclature.cpp b/src/frontends/qt4/GuiNomenclature.cpp index b6a795ee46..92250a7b27 100644 --- a/src/frontends/qt4/GuiNomenclature.cpp +++ b/src/frontends/qt4/GuiNomenclature.cpp @@ -56,7 +56,7 @@ docstring GuiNomenclature::dialogToParams() const QString description = descriptionTE->toPlainText(); description.replace('\n',"\\\\"); params["description"] = qstring_to_ucs4(description); - return from_ascii(InsetNomencl::params2string(params)); + return from_utf8(InsetNomencl::params2string(params)); }