Catch uncodable character problem

This commit is contained in:
Juergen Spitzmueller 2013-08-30 11:28:15 +02:00
parent cc0e0b1388
commit f9411f1f26

View File

@ -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);