python-ogre & unicode strings

Kreso

21-05-2007 12:00:11

when I write smtg like this:

loading_text=cegui.WindowManager.getSingleton().getWindow("loading_text");
loading_text.text=u'UÄ

saladin

28-05-2007 16:44:50

You might wanna look into ogre.UTFString() function.

(I just suspect that have something to do with what u're trying to achieve. no garantee here.)

Kreso

28-05-2007 23:06:05

nope, that didn't do the trick. there isa bug in python-ogre, which seems to inject each char into a cegui.String, where it should first unpack a utf8 string and then insert chars. I'll file a bug report.

andy

29-05-2007 07:45:32

You should have a look through the Google groups (http://groups.google.com/group/python-ogre-developers) as there is a current work around..

More Specifically about 3/4's of the way through http://groups.google.com/group/python-ogre-developers/browse_thread/thread/50704ee29bdacd57

Cheers

Andy

Kreso

29-05-2007 10:22:42

yeah I know, I wrote that topic :) but I also posted a message here as well. any progress btw? I'd gladly help but other then diagnosing and debuging the problem, I don't know how else I could.