ILI9341 no Umlauts

My ILI9341 does not show any umlauts.
I tried with different font files - no success.
I always get “character without representation in font: \xc3 \xbc \xb6”
On screen, there is a rectangle in foreground color.

Do any of you have it with umlauts?

Configuration is unspectacular:

font:
  - file: '/config/esphome/font/Roboto-Regular.ttf'
    id: font2
    size: 20
display:
  - platform: ili9xxx
    model: ili9341
    id: touch_display
    spi_id: ili9341_spi
    cs_pin: GPIO5
    dc_pin: GPIO4
    color_palette: 8BIT
    color_order: bgr
    dimensions:
      width: 240
      height: 320
    invert_colors: false
    auto_clear_enabled: true
    update_interval: 1s
    reset_pin: GPIO22
 
pages:
    - id: page1

    - id: page2
      lambda: |-
        it.printf( 120, 20, id(font2), TextAlign::BASELINE_CENTER, "%s", id(media_artist).state.c_str());
        it.print( 120, 100, id(font2), id(my_red), TextAlign::BASELINE_CENTER, "Nur für Erwachsene");

Print or printf make no difference.
Thank you all! Regards! Christian

Documented behaviour:

glyphsets (Optional, list): A list of glyphsets you plan to use. Defaults to GF_Latin_Kernel, which contains the basic characters and necessary punctuation and symbols for the English language. GF_Latin_Core is a more extended set that includes glyphs for the languages of Europe and the Americas with over 5 million speakers.

1 Like