Cyrillic symbos, UTF-8 and TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-17 3:21 AM
Hello, I from Russia and I use cyrillic symbols.
In touchGFX Designer I use cyrillyc symbols without problems.
But if I type cyrillic symbols in IDE, in codefiles
Mytext="Cyrillic_Text";
I get "?????????" on touchGFX gadget.
I try to translate codefiles to UTF-8 - same result: "?????????"
How to solve this problem?
- Labels:
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-12-07 12:49 AM
HI
What file we have to include for this.For me it is showing expected an expression
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-20 6:40 AM
Hi @EEuge​ .. did you solve the problem ? i am facing the same issue as you.. in touch gfx words in Cyrillic are working.. but when I try to do this
const char* parArea4[5][6] = {
{ "Preheating",
"Ready",
" ",
"Baking",
"Extra time",
"Extra time?"
},
{ "Preriscaldo",
"Pronto",
" ",
"Cottura",
"Extra time",
"Extra time?"
},
{ "Prechauffage",
"Pret",
" ",
"Cuisson",
"Extra time",
"Extra time?"
},
{ "Предварительный нагрев",
"Pronto",
" ",
"Выпечка",
"Extra time",
"Extra time?"
},
{ "Preriscaldo",
"Pronto",
" ",
"Cottura",
"Extra time",
"Extra time?"
}
};
uint8_t tipolingua = 3; //cyrillic
textArea4.setColor(touchgfx::Color::getColorFrom24BitRGB(236, 209, 18));//extra time?
Unicode::strncpy(textArea4Buffer, parArea4[tipolingua][5], Unicode::strlen(parArea4[tipolingua][5])+1);
textArea4.invalidate();
on the display i see a lot of question marks??
How can i fix it ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-26 2:16 AM
Hi @EEuge​ .. were you able to solve the issue ? How did you do?

- « Previous
-
- 1
- 2
- Next »