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

This commit is contained in:
Timo Marttinen 2024-11-04 16:57:37 +02:00 committed by Tom Fifield
parent f769c50fa5
commit 0bffbaea5a

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)