Can irrlicht display Chinese?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
createjie
Posts: 4
Joined: Sat Jul 02, 2011 9:45 am

Can irrlicht display Chinese?

Post by createjie »

Is it support Chinese?
Can it display or enter Chinese?
I want to know.
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Re: Can irrlicht display Chinese?

Post 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:
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."
createjie
Posts: 4
Joined: Sat Jul 02, 2011 9:45 am

Re: Can irrlicht display Chinese?

Post by createjie »

Okay I will try it if I have spare time.
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Re: Can irrlicht display Chinese?

Post 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
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."
Post Reply