- // avoid lyx::to_utf8(_(...)) re-entrance problem
- string const s = lyx::to_utf8(_(errorTags[i].desc));
- os << bformat(lyx::to_utf8(_("Debugging `%1$s' (%2$s)")),
- errorTags[i].name, s)
+ // avoid to_utf8(_(...)) re-entrance problem
+ docstring const s = _(errorTags[i].desc);
+ os << to_utf8(bformat(_("Debugging `%1$s' (%2$s)"),
+ from_utf8(errorTags[i].name), s))