How to support unicode in Editext string
Posted: Mon Oct 17, 2011 11:24
Hello all
im was searching for solution for this , but didn't found any standard solution .
if i like to support Unicode characters for example in EditText box . what i need to do ?
today i have this:
but it dosnt support Unicode in the std string. what i need to do to be able to support it ?
Thanks
im was searching for solution for this , but didn't found any standard solution .
if i like to support Unicode characters for example in EditText box . what i need to do ?
today i have this:
Code: Select all
CEGUI::Editbox* idbox = static_cast<CEGUI::Editbox*>(CEGUI::WindowManager::getSingleton().getWindow("NewInputIDBox"));
CEGUI::String sStr = idbox->getText();
std::string sStlStr(sStr.c_str());
but it dosnt support Unicode in the std string. what i need to do to be able to support it ?
Thanks