fix display of umlauts (UTF-8 left byte C3) (#5252)

This commit is contained in:
Timo
2024-11-05 04:36:37 -06:00
committed by GitHub
co-authored by GitHub
parent f769c50fa5
commit 8e2a3e5728
+6 -1
View File
@@ -327,10 +327,15 @@ class Screen : public concurrency::OSThread
SKIPREST = false;
return (uint8_t)ch;
}
case 0xC3: {
SKIPREST = false;
return (uint8_t)(ch | 0xC0);
}
}
// We want to strip out prefix chars for two-byte char formats
if (ch == 0xC2)
if (ch == 0xC2 || ch == 0xC3)
return (uint8_t)0;
#if defined(OLED_PL)