]> git.lyx.org Git - lyx.git/blobdiff - src/Encoding.cpp
Amend 6c3447c8: FindAdv: sometimes a space is added on some math symbols
[lyx.git] / src / Encoding.cpp
index dc841924714d234962118bb6359a0ac40db025df..2dd3c9de8f6fd1e06c70657716a9ad593bfb6f5c 100644 (file)
 
 #include "Encoding.h"
 
-#include "Lexer.h"
-
 #include "support/debug.h"
 #include "support/docstring.h"
 #include "support/gettext.h"
+#include "support/Lexer.h"
 #include "support/lstrings.h"
 #include "support/mutex.h"
 #include "support/textutils.h"
@@ -204,7 +203,7 @@ bool Encoding::encodable(char_type c) const
                return true;
        // platex does not load inputenc: force conversion of supported characters
        if (package_ == Encoding::japanese
-           && ((0xb7 <= c && c <= 0x058f) // Latin-1 Supplement ... Armenian
+           && ((0xb7 <= c && c <= 0x05ff) // Latin-1 Supplement ... Hebrew
                        || (0x1d00 <= c && c <= 0x218f) // Phonetic Extensions ... Number Forms
                        || (0x2193 <= c && c <= 0x2aff) // Arrows ... Supplemental Mathematical Operators
                        || (0xfb00 <= c && c <= 0xfb4f) // Alphabetic Presentation Forms