Page 1 of 1

Can irrlicht display Chinese?

Posted: Wed Jul 06, 2011 3:55 am
by createjie
Is it support Chinese?
Can it display or enter Chinese?
I want to know.

Re: Can irrlicht display Chinese?

Posted: Wed Jul 06, 2011 9:47 am
by shadowslair
Yes, it can display any language you can use- I use it to display Bulgarian, but have seen it with chinese and other languages. You need to use unicode for that. There are already some implementations in the forum, recently the most updated seems to be:

http://irrlicht.sourceforge.net/forum/v ... =6&t=37296

Just take a bit of time to read a bit of it and extend irrlicht using the UString classes. Should be fine. :wink:

Re: Can irrlicht display Chinese?

Posted: Wed Jul 06, 2011 9:54 am
by createjie
Okay I will try it if I have spare time.

Re: Can irrlicht display Chinese?

Posted: Wed Jul 06, 2011 12:24 pm
by shadowslair
Sorry, but I forgot to mention that you may also want to take a look at: http://irrlicht.sourceforge.net/forum/v ... 3&start=45 . It`s a bit older patch by MadHayde I personally use (on Win) and is easy to add. I think the patch by Nalin does not allow you to input/paste unicode, only display it (didn`t tred it yet, so please correct me if I`m wrong). If you only need to display the Nalin patch sholud do the job. But, if you can- try both.

PS: If somebody took the time to update the MadHayde`s patch for Irr 1.8.0 and has the will to share it, please do. I tried updating it like half a year ago, but it turned a nice pile of nonworking messy code. :D