bool need_unicode = false;
if (enc) {
for (size_t n = 0; n < hs.size(); ++n) {
- if (enc->latexChar(hs[n], true) != docstring(1, hs[n]))
+ if (!enc->encodable(hs[n]))
need_unicode = true;
}
}
// check the string from UI
-string PDFOptions::quoted_options_check(string const str) const
+string PDFOptions::quoted_options_check(string const & str) const
{
return subst(str, "\n", "");
}