diff --git a/jni/NativeFormats/fbreader/src/formats/rtf/RtfReader.cpp b/jni/NativeFormats/fbreader/src/formats/rtf/RtfReader.cpp index df9ec2d28..2fd7c5b21 100644 --- a/jni/NativeFormats/fbreader/src/formats/rtf/RtfReader.cpp +++ b/jni/NativeFormats/fbreader/src/formats/rtf/RtfReader.cpp @@ -374,8 +374,9 @@ bool RtfReader::parseDocument() { myBinaryDataSize = parameter; parserState = READ_BINARY_DATA; } else if (keyword == "u") { + // TODO: implement commands of form "\ucL\uN" (insert symbol N + skip L bytes) processUnicodeCharacter(parameter); - readNextChar = true; + readNextChar &= *ptr != '\\'; parserState = READ_NORMAL_DATA; } else { processKeyword(keyword, ¶meter);