LibVT: Fix 8-bit control codes clobbering UTF-8

Bytes in the 0x80..0x9F range were treated as C1 control codes,
which prevented them from being parsed as UTF-8 bytes.

This caused some characters (like U+DF, encoded as 0xC3 0x9F)
from being recognized as printable characters.
This commit is contained in:
Daniel Bertalan 2021-05-16 12:12:36 +00:00 committed by Andreas Kling
parent e0b6cfec1a
commit 7b9051afe5
Notes: sideshowbarker 2024-07-18 18:03:05 +09:00

View file

@ -10,23 +10,7 @@
@anywhere {
0x18 => (Ground, Execute)
0x1a => (Ground, Execute)
[0x80..0x8f] => (Ground, Execute)
[0x91..0x97] => (Ground, Execute)
0x99 => (Ground, Execute)
0x9a => (Ground, Execute)
0x9c => (Ground, _)
0x1b => (Escape, _)
0x90 => (DcsEntry, _)
0x98 => (SosPmApcString, _)
0x9e => (SosPmApcString, _)
0x9f => (SosPmApcString, _)
0x9d => (OscString, _)
0x9b => (CsiEntry, _)
}
Ground {