maybe someone could help me with an issue with cegui editbox->getText();
I typed an accentuated word in the editbox like 'pé de sapé'.
when I try to pick the word
with the code
Code:
CEGUI::WindowManager& wmgr = CEGUI::WindowManager::getSingleton();
CEGUI::String voc = wmgr.getWindow((CEGUI::utf8*)"editbox1");->getText();
const char* vocabulo = voc.c_str();
the accentuated letters becomes weird. and I can't get the word in its real form.
how can I set to "vocabulo" the word that I typed on the editbox?
pé de sapé becomes: pé de sapé
do someone knows what's going on?
unicode problem
Moderators: CEGUI MVP, CEGUI Team
Who is online
Users browsing this forum: Google [Bot] and 14 guests