How to use unicode for localisation text?

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
pepe
Posts: 9
Joined: Mon Mar 07, 2005 7:29 am
Location: thailand
Contact:

How to use unicode for localisation text?

Post by pepe »

Some body help me I want to use unicode for my country text
//my code
gui::IGUIStaticText* text;
text = env->addStaticText(L"Test ไทย text !", core::rect<s32>(10,465,200,500), true);
text->setOverrideColor(video::SColor(100,255,255,255));


What wrong!

I live in Asia and I'm sorry for my English
chaiyo chaiyo
pepe
Posts: 9
Joined: Mon Mar 07, 2005 7:29 am
Location: thailand
Contact:

plzz

Post by pepe »

How to display Thai Language
chaiyo chaiyo
Tooh
Posts: 5
Joined: Fri May 27, 2005 3:56 am

Post by Tooh »

Hello.
Image

The following images are the default font which is built into the engine (C:\irrlicht-0.10.0\media\fonthaettenschweiler.bmp) and my Thai font.
Image Image
pepe
Posts: 9
Joined: Mon Mar 07, 2005 7:29 am
Location: thailand
Contact:

Post by pepe »

how to show that and I want Example
thank
chaiyo chaiyo
nutpor
Posts: 31
Joined: Sun Jun 12, 2005 5:06 pm
Location: Behind You ^_^

Post by nutpor »

I use freetype2 with some modification to code from this =>
http://irrlicht.sourceforge.net/phpBB2/ ... php?t=3995.
Seem that this code still had problem with video::EDT_OPENGL.
If you want the modified code pm me.
Don't look back, Look in the ~MIRROR~ to look back.
Post Reply