Unicode Font? How to use it?
by Warit Achavanuntakul · in Technical Issues · 02/02/2007 (6:12 pm) · 6 replies
I still don't get how to use Unicode font in Torque. Do I have to recompile the engine for it to read UTF files or what?
Thx.
Thx.
About the author
#2
thx again. :)
02/03/2007 (10:55 am)
May be because I used Notepad to write out and it add BOM to the letter. Can you tell me more what kind of editor you use and what kind of font?thx again. :)
#3
http://notepad-plus.sourceforge.net . In Notepad++ you can go to a menu "Format" then select "Encode in ANSI" and also check "UTF-8 without BOM". For the font I used, it's "Tahoma".
Hope this help. :)
02/03/2007 (8:11 pm)
Yes, the script files won't work with BOM. I'm using Notepad++ a great free text editor, you can download it athttp://notepad-plus.sourceforge.net . In Notepad++ you can go to a menu "Format" then select "Encode in ANSI" and also check "UTF-8 without BOM". For the font I used, it's "Tahoma".
Hope this help. :)
#4
:)
02/04/2007 (3:27 am)
Arr, thank you krub. this really helps. Been puzzling with this for awhile, even recompile the whole torque and it still didn't work. Had no idea there's BOM problem with notepad. :)
#5
02/04/2007 (4:59 am)
I'm glad it help you. Good luck with your project :)
#6
09/02/2007 (9:12 pm)
But what about Chinese characters? I tried following your guidance and it only displays little boxes in place of the characters.
Torque Owner Kirakorn Chimkool
Just save the file as UTF-8 and it works fine.