How to use the list to display the file name of the folder in the SD card and the file name encoded in Unicode,The name of the list can only display English characters, not Chinese characters.
What MCU/Processor/Board and compiler are you using?
STM32F407
What LVGL version are you using?
7.0.2
What do you want to achieve?
What have you tried so far?
no
Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.
The code block(s) should be formatted like:
/*You code here*/
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.
I have declared the font and changed the default font,it should not be a problem that fonts are not applied to the list,only Chinese is not displayed in the list.
It could be filesystem issue as well. Can you verify with debugger (or printing to serial port, etc) if the read filenames are correct before sending them to LVGL?
BTW, the files should be UTF-8 encoded and not Unicode. Unicode describes the mapping of values to characters and UTF-8 tells how to store the Unicode values in a compact form.