From: Juergen Spitzmueller Date: Fri, 30 Aug 2013 09:28:15 +0000 (+0200) Subject: Catch uncodable character problem X-Git-Tag: 2.1.0beta2~119 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f9411f1f263fb862c5b9ed89827df2714b60c2c2;p=features.git Catch uncodable character problem --- 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);