mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Catch uncodable character problem
This commit is contained in:
parent
cc0e0b1388
commit
f9411f1f26
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user