From f9411f1f263fb862c5b9ed89827df2714b60c2c2 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 30 Aug 2013 11:28:15 +0200 Subject: [PATCH] Catch uncodable character problem --- src/Paragraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 7fd271c41d..b0a41377ca 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -1302,7 +1302,7 @@ void Paragraph::Private::latexSpecialChar(otexstream & os, docstring nextlatex; bool nexttipas = false; string nexttipashortcut; - if (next != '\0' && next != META_INSET) { + if (next != '\0' && next != META_INSET && encoding.encodable(next)) { nextlatex = encoding.latexChar(next).first; if (runparams.inIPA) { nexttipashortcut = Encodings::TIPAShortcut(next); -- 2.39.5