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:
parent
e0b6cfec1a
commit
7b9051afe5
Notes:
sideshowbarker
2024-07-18 18:03:05 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/7b9051afe51 Pull-request: https://github.com/SerenityOS/serenity/pull/7176
1 changed files with 0 additions and 16 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue