+ pair<docstring, docstring> name_latexed =
+ runparams.encoding->latexString(name, runparams.dryrun);
+ name = name_latexed.first;
+ if (!name_latexed.second.empty() && !runparams.silent) {
+ // issue a warning about omitted characters
+ // FIXME: should be passed to the error dialog
+ frontend::Alert::warning(_("Uncodable characters"),
+ bformat(_("The following characters that are used in the href inset are not\n"
+ "representable in the current encoding and therefore have been omitted:\n%1$s."),
+ name_latexed.second));
+ }