Displaying UTF-8 characters in AGS

Started by Ramorama, Sat 15/04/2017 14:18:08

Previous topic - Next topic

Ramorama

If I would make a Russian Translation of a game what should I do that my AGS game is able to display Cyrillic characters?
AGS only supports ASCII code.

Snarky

AGS doesn't currently support UTF-8 or any other Unicode format.

However, you can get Cyrillic characters in ASCII by choosing an appropriate code page: https://www.ascii-codes.com/cp855.html

I'm not sure exactly how you do it, but I think it might be as easy as setting the code page setting in Windows, and just typing in the Cyrillic text into the document. Then you need a font with the Cyrillic characters in the corresponding slots.

Crimson Wizard

#2
Not ASCII, but ANSI, codepage Windows-1251.
https://en.wikipedia.org/wiki/Windows-1251

The rest is correct, whoever types in texts need to switch to Russian locale (unless they already use it) and save translation file in ANSI format.

I know that there is a russian AGS community that does game translation and has a library of compatible fonts for this task... but I forgot how to contact them (I was on their forum a long while ago).
Here is just a bunch of working fonts that I happened to have on disk: https://www.dropbox.com/s/vca1tswlzd8fjmn/ags%20rus%20fonts.rar?dl=0

But of course you are not limited to them, you can create your own, if you use any font editor and make sure that letters are arranged in the order of the codepage referenced above.

Ramorama


SMF spam blocked by CleanTalk