encoding fix

This commit is contained in:
2026-08-02 00:25:35 +02:00
parent 9ca47c4cbb
commit a1341b38a9
5 changed files with 44 additions and 5 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
#include "weather_detail_screen.h"
#include "../../include/text_utils.h"
#include <M5Stack.h>
#include "../../include/theme.h"
#include "../icons/icons.h"
@@ -48,7 +49,7 @@ void renderWeatherDetailScreen(bool forceRefresh) {
M5.Lcd.printf("%d C", fe.temperature);
M5.Lcd.setCursor(140, y);
M5.Lcd.print(fe.description.substring(0, 12));
M5.Lcd.print(sanitizeGermanText(fe.description.substring(0, 12)));
if (fe.precipitationType == "rain" && fe.precipitationProbability > 0.0f) {
M5.Lcd.setTextColor(Theme::ACCENT_RAIN, Theme::BG);