Game Development Community

Multi-Byte Character question

by Shian Wu · in Torque Game Engine · 09/08/2002 (7:53 am) · 3 replies

Can I use Multi-Byte Character ( like Traditional Chinese and Japanese ) in TGE?

About the author

Recent Threads


#1
09/08/2002 (8:18 am)
That's an interesting question.

I've not come across it anywhere in Torque but then again I've not looked for it. I seriously doubt it though as one of the major components in Torque is the "StringTable" and this is fixed to a "const char*" which is obviously not wide enough.

- Melv.
#2
09/08/2002 (9:35 am)
If you aren't concerned with cross-platform clients, you could change that to a "const WCHAR *" declarations and it should recompile fine, now allowing you to store Unicode strings in it. You'd have to change a whole bunch of other functions, but I don't think it'd be [u]that[/u] bad.
#3
09/08/2002 (10:00 pm)
Thanks for reply.
I will try that if I understand TGE enought.
Is it possible that add unicode support to TGE features ?
And IME (Input Method Editor) not working in TGE, too.
This is important for some Asia country.