Page 1 of 1

Any chance with non-ASCII mod content [translations]?

Posted: Tue Feb 12, 2013 8:33 am
by atermird
I'm looking into translating game into Russian.

Two issues here:

1. Fonts. Looks like game uses TTF fonts without international
characters. Nasty, but solvable: new fonts can be included in MOD file
along with text.

2. Character encoding. events.xml header states it's encoded using
"utf-8". I tried to create sample mod with UTF-8-encoded Russian bits in it (
with fonts that include those characters, and with default ones), and it's not handled
properly: attached image should read "И ещё маленечко...", but instead
it looks like multibyte Cyrillic characters were treated as 8-bit
latin-1 characters (making string twice as long). Common error, but
fixing this without developer help is almost impossible...

Re: Any chance with non-ASCII mod content [translations]?

Posted: Tue Feb 12, 2013 8:51 pm
by KuroSaru
Although it states it uses UTF-8, between the xml file and the API call used to draw the text the UTF-8 is converted to ANSI, as you've stated without help from Devs current version of FTL wont work/support UTF-8 text.

Additionally its not possible to patch the ftl.exe either, it would require the devs to do something. sorry cant be of help here.

Re: Any chance with non-ASCII mod content [translations]?

Posted: Thu Feb 14, 2013 12:27 pm
by shark
there's no way to print cyrillics in the game. Шарк didn't work for me either.