I want to display a sensor data with following the characters ºC and % I have the UTF8 enabled in the lv_conf.h
#define LV_TXT_ENC LV_TXT_ENC_UTF8
And I can display the lv_label_set_text(label1, LV_SYMBOL_OK); like documentation says, but when I try to display the data with the ºC and % the º and % don’t appear, only appear the C. I use the LV_FONT_MONTSERRAT_26 enabled in the lv_conf.h, how can I display the º and % simbols? Thanks in advance
What MCU/Processor/Board and compiler are you using?
Make sure that your C file is being saved in UTF-8 format. Sometimes the OS uses a different format, then the compiler outputs some other type of Unicode encoding and LVGL has no idea what to display.
Thats odd. The symbol is in the monterrat_26.c file. Line 1596. Can you try copying the symbol from there in case HTML is replacing it with something else?
How do you select that background color? I divide my display in 3 parts, top, middle and bottom, my theme its LV_THEME_MATERIAL_FLAG_DARK but if I don’t select the color of the middle it is white, how can I setup your middle background color? Thanks a lot