Skip to content

Commit 8e2a3e5

Browse files
authored
fix display of umlauts (UTF-8 left byte C3) (#5252)
1 parent f769c50 commit 8e2a3e5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/graphics/Screen.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,10 +327,15 @@ class Screen : public concurrency::OSThread
327327
SKIPREST = false;
328328
return (uint8_t)ch;
329329
}
330+
331+
case 0xC3: {
332+
SKIPREST = false;
333+
return (uint8_t)(ch | 0xC0);
334+
}
330335
}
331336

332337
// We want to strip out prefix chars for two-byte char formats
333-
if (ch == 0xC2)
338+
if (ch == 0xC2 || ch == 0xC3)
334339
return (uint8_t)0;
335340

336341
#if defined(OLED_PL)

0 commit comments

Comments
 (0)