Game Development Community

TGB Unicode Support, How?

by yoko · in Torque Game Builder · 06/10/2006 (11:49 pm) · 2 replies

Hello,

I noticed the source part of TGB have i18n implementation,
however I can't get Japanese text work as expected,
read some documents and I didn't find yet.

Searches towards unicode are for TGE 1.4, is anyone make it
worked with it in TGB? Thanks in advance.

#1
06/11/2006 (1:34 am)
I have not done very much with unicode in TGB but I got it to work. Safe your script files in UTF8 you should be able use unicode strings in your code. But don't use anything non-ascii for variable names, function names and the like. It may work sometimes but I guess it can only mean calling for trouble.
#2
06/11/2006 (1:41 am)
I want to implement unicoded string in a seperate code as "language table" to enable later translation, TGB did read UTF8 source without BOM insterted, but I think I have to call proper fonts first, otherwise the text was messed.

Thanks for replying, I'll trying more to get it work properly.