Hello,
I need to display a Russian text which have to be updated dynamically from code.
But, it is just displaying "????" even after placing range in typography. Is there a way to update non-english text during run time rather than using Resources.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-09 2:51 AM
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-09 3:05 AM
Unicode::fromUTF8( (uint8_t *)utfString, textfieldBuffer, sizeof(textfieldBuffer) );
text field.invalidate();​
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-09 3:31 AM
Hi,
What font are you using ? Make sure the characters are handled by that font.
Instead of Resources you could use wildcards with Single Use textAreas where you update the text with just a printf like this
Unicode::snprintf(textArea1Buffer, TEXTAREA1_SIZE, "%s", yourText);
/Romain
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-09-09 4:17 AM
Hi @Romain DIELEMAN​
I tried this also. Still its same.
Even the font can handle the characters when Resource is being used.
