Hi,
I recently purchased emWin Font Converter to add special characters to my character set in emWin.
I have successfully displayed UTF8 characters in text boxes using the following code for example:
GUI_UC_SetEncodeUTF8();
...
TEXT_SetText(hItem, "Δa");
However, if I do the same for other dialog types, it is not successful:
GUI_UC_SetEncodeUTF8();
...
LISTVIEW_SetItemText(hItem, 0,0, "Δa");
...
DROPDOWN_AddString(hItem, "Δa");
...
EDIT_SetText(hItem, "Δa");
In each case, the text "a" is displayed instead of "Δa".
Is this a known limitation of emWin or is there any way I can display UTF8 characters in all dialog types?
Regards,
Steven.
I recently purchased emWin Font Converter to add special characters to my character set in emWin.
I have successfully displayed UTF8 characters in text boxes using the following code for example:
GUI_UC_SetEncodeUTF8();
...
TEXT_SetText(hItem, "Δa");
However, if I do the same for other dialog types, it is not successful:
GUI_UC_SetEncodeUTF8();
...
LISTVIEW_SetItemText(hItem, 0,0, "Δa");
...
DROPDOWN_AddString(hItem, "Δa");
...
EDIT_SetText(hItem, "Δa");
In each case, the text "a" is displayed instead of "Δa".
Is this a known limitation of emWin or is there any way I can display UTF8 characters in all dialog types?
Regards,
Steven.