diff --git a/src/PDFOptions.cpp b/src/PDFOptions.cpp index d64cc2975e..0b5b139e95 100644 --- a/src/PDFOptions.cpp +++ b/src/PDFOptions.cpp @@ -105,8 +105,7 @@ void PDFOptions::writeLaTeX(OutputParams & runparams, otexstream & os, // with the hyperref option "unicode". // (With Xe/LuaTeX and pTeX, unicode=true is the default // and the option leads to errors with some Japanese document classes) - if (!runparams.isFullUnicode() - && (!runparams.use_japanese || runparams.encoding->iconvName() == "UTF-8")) + if (!runparams.isFullUnicode() && !runparams.use_japanese) opt += "unicode=true,"; // only use the hyperref settings if hyperref is enabled by the user