fix: repair mojibake arrow directions

Signed-off-by: Mr-Neutr0n <harikp2002@gmail.com>
This commit is contained in:
Mr-Neutr0n
2026-08-12 15:52:47 +05:30
parent 4da4dfb80b
commit af6bc62799
3 changed files with 47 additions and 2 deletions
+4 -2
View File
@@ -17,8 +17,10 @@ PAIRS = [
('…', '…'), # horizontal ellipsis
('•', '•'), # bullet
('→', '→'), # right arrow
('↑', '←'), # left arrow
('↑', '↑'), # up arrow (same prefix collision - rare)
# CP1252 leaves byte 0x90 undefined, so spell the left-arrow corruption
# with a Unicode escape instead of embedding an invisible control character.
('\u00e2\u2020\u0090', '←'), # left arrow
('↑', '↑'), # up arrow
('↓', '↓'), # down arrow
('≤', '≤'), # less-than-or-equal
('≥', '≥'), # greater-than-or-equal