Game Development Community

Special characters for Foreign Language Translations

by Brian Colin · in General Discussion · 08/08/2007 (10:21 am) · 2 replies

I'm not sure if this is a game engine question,
a publishing question, or a Windows question, but here goes...

We have a client who would like us to do a Portuguese Version of a Torque based game we did for them a while back.

The Game, Deliverance uses straightforward .txt files as "subtitles" for in-game conversations.

The client has provided us with translated .txt files that contain numerous special characters (accent marks, etc) that show up fine in Notepad/Wordpad but DON"T show up in the game... replaced by the little square [] indicating the missing character.

I've tried setting my computer to Portuguese as the main language, I've verified that the font we're using has those special characters, to no avail.

Has anyone had to deal with this?
Is there a windows setting I'm overlooking?
Is there anything about TORQUE that would prevent these characters from showing up?

Thanks!

#1
08/14/2007 (1:00 pm)
You should check to see what code page the file uses. It might be using ISO-Latin-1. Change the file encoding to UTF-8, which is 8-bit Unicode, and see if that makes a difference. The font you're using should be a Unicode font rather than an ASCII font. With Unicode, your computers locale isn't needed to figure out the text encoding. You may need to email GG or dig into the source code to check for Unicode support. Once you have support for Unicode, special characters will show up no problem.
#2
08/15/2007 (10:20 am)
Thanks, Nikos!

I'll see what I can find out about Unicode support in Torque and post my findings here for others with similar issues!

Brian