]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/string.qh
Fix 3 non-UTF8 markup characters, fix and update UTF8 whitespace
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / string.qh
index a7508b8fb85c236f61619684dc1e692d5fec0859..946438ca5f836ae29c8a2f8e276e46f8cd1330f6 100644 (file)
@@ -312,7 +312,10 @@ bool isInvisibleString(string s)
                        case 192:          // charmap space
                                if (!utf8) break;
                                return false;
-                       case 0xE000 + 192: // utf8 charmap space
+                       case 0xE000: // invisible char of the utf8 quake charmap
+                       case 0xE00A: // invisible char of the utf8 quake charmap
+                       case 0xE0A0: // invisible char of the utf8 quake charmap
+                       case 0xE020: // invisible char of the utf8 quake charmap
                        case 0x00A0: // NO-BREAK SPACE
                        //case 0x1680: // OGHAM SPACE MARK
                        case 0x180E: // MONGOLIAN VOWEL SEPARATOR