From f6b13c5cabb593b625516a63e58b8c9b50b2e981 Mon Sep 17 00:00:00 2001 From: Jakub <106778416+MarekZegare4@users.noreply.github.com> Date: Sat, 16 May 2026 15:05:53 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20use=20block=20char=20=E2=96=88=20fallbac?= =?UTF-8?q?k=20for=20unknown=20codepoints=20in=20transliteration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- src/helpers/ui/DisplayDriver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers/ui/DisplayDriver.h b/src/helpers/ui/DisplayDriver.h index c15b0462..1a512381 100644 --- a/src/helpers/ui/DisplayDriver.h +++ b/src/helpers/ui/DisplayDriver.h @@ -73,7 +73,7 @@ public: case 0x00E7: return 'c'; case 0x00C7: return 'C'; // ç Ç case 0x00F1: return 'n'; case 0x00D1: return 'N'; // ñ Ñ case 0x00FD: return 'y'; case 0x00DD: return 'Y'; // ý Ý - default: return '?'; + default: return '\xDB'; // CP437 full block █ } } @@ -96,7 +96,7 @@ public: if (*p) cp = (cp << 6) | (*p++ & 0x3F); } else { while (*p && (*p & 0xC0) == 0x80) p++; - dest[j++] = '?'; + dest[j++] = '\xDB'; continue; } dest[j++] = transliterateCodepoint(cp);