Question of label to show odd number Chinese characters

question of label to show odd number Chinese characters

When the number of Chinese characters is even, label will show them correctly, while the number is odd, the last one will not be showed, and a question mark “?” instead.
for example:
If the text of label is “正在测试”, it is OK;
If the text of label is “测试中”, it is not OK, will show “测试?”

VS simulator on Win 10

What have you tried so far?

when the number is even, the Chinese characters will be showed OK.

Same question,I found the issue too

It’s not lvgl bug,it’s the setting of visual studio .
Add /utf-8 to command line other option will fix this.

1 Like