Any chance with non-ASCII mod content [translations]?
Posted: Tue Feb 12, 2013 8:33 am
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...
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...