commit 6cc7c006d80ef4fb641c7a7de4afa865e9842d4d
Author: Juergen Spitzmueller <[email protected]>
Date: Sun Jan 18 11:39:38 2026 +0100
"Missing character" warning might also occur with 8bit encoding
---
src/LaTeX.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp
index e22dd1eac8..03359fb31c 100644
--- a/src/LaTeX.cpp
+++ b/src/LaTeX.cpp
@@ -1234,9 +1234,7 @@ int LaTeX::scanLogFile(TeXErrors & terr)
// but can be ignored for 'nullfont' (bug
10394).
// as well as for ZERO WIDTH NON-JOINER
(0x200C) which is
// missing in many fonts and output for
ligature break (bug 10727).
- // Since this error only occurs with utf8
output, we can safely assume
- // that the log file is utf8-encoded
- docstring const utoken = from_utf8(token);
+ docstring const utoken = from_local8bit(token);
if (!contains(utoken, 0x200C)) {
retval |= LATEX_ERROR;
terr.insertError(0,
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs