From 1f3a70835df303b2c0ca822840982845cb940145 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Wed, 10 Jan 2007 21:06:09 +0000 Subject: [PATCH] Add more precise comment git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16642 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LaTeX.C | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/LaTeX.C b/src/LaTeX.C index 61f2d92e3f..c6734bb2bd 100644 --- a/src/LaTeX.C +++ b/src/LaTeX.C @@ -683,8 +683,12 @@ int LaTeX::scanLogFile(TeXErrors & terr) if (line_count <= 5) { // FIXME UNICODE // We have no idea what the encoding of - // the log file is, but it is safe to - // assume it is the current locale one. + // the log file is. + // It seems that the output from the + // latex compiler itself is pure ASCII, + // but it can include bits from the + // document, so whatever encoding we + // assume here it can be wrong. terr.insertError(line, from_local8bit(desc), from_local8bit(errstr)); ++num_errors; } -- 2.39.2