logTypeCO->setEnabled(logtype == "latex");
logTypeCO->clear();
-
+
FileName log(logfile);
-
+
if (logtype == "latex") {
type_ = LatexLog;
logTypeCO->addItem(qt_("LaTeX"), toqstr(logtype));
// FIXME UNICODE
// Our caller interprets the file contents as UTF8, but is that
// correct?
+ // spitz: No it isn't (generally). The log file encoding depends on the TeX
+ // _output_ encoding (T1 etc.). We should account for that. See #10728.
if (in) {
ss << in.rdbuf();
success = ss.good();