mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +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;
|
docstring nextlatex;
|
||||||
bool nexttipas = false;
|
bool nexttipas = false;
|
||||||
string nexttipashortcut;
|
string nexttipashortcut;
|
||||||
if (next != '\0' && next != META_INSET) {
|
if (next != '\0' && next != META_INSET && encoding.encodable(next)) {
|
||||||
nextlatex = encoding.latexChar(next).first;
|
nextlatex = encoding.latexChar(next).first;
|
||||||
if (runparams.inIPA) {
|
if (runparams.inIPA) {
|
||||||
nexttipashortcut = Encodings::TIPAShortcut(next);
|
nexttipashortcut = Encodings::TIPAShortcut(next);
|
||||||
|
Loading…
Reference in New Issue
Block a user