Search found 1 match

by amugana
Sat Feb 10, 2007 09:31
Forum: Modifications / Integrations / Customisations
Topic: Some questions about getText() and setText() in lua
Replies: 2
Views: 2992

it's because of tolua++

tolua++ simply maps lua 'string' as CEGUI::String. and tolua++ deals strings as 'const char*' when u call 'Window::getText',, CEGUI::String automatically decode utf32 string to utf8 and returns utf8 pointer, then 'Window::setText' gets it as 'const char*' so.. CEGUI::String do the encode to utf8 aga...

Go to advanced search