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));
}
{
InsetCommandParams params(insetCode());
params["name"] = qstring_to_ucs4(keywordED->text());
- return from_ascii(InsetLabel::params2string(params));
+ return from_utf8(InsetLabel::params2string(params));
}
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));
}