PDA

View Full Version : What is codepage of Russian comments in the (Lua) source file?


aaaaa
10-21-2008, 05:21 PM
When i modify some text files of this game like Lua file, I found that lots of Russian comment there. What is codepage / encoding of these Russian text? I am completely ignorant of Russian language and codeset.
It must be one of Cyrillic DOS-855, DOS-866, iso8859-5, KOI8-R, KOI8-U, Mac Cyrillic (cp10007), Window (cp1251).
Language file (*.lng) seems to use Unicode encoding, so it doesn't matter.

If I set codepage incorrectly, I may corrupt the Russian text part inadvertently while editing the file.

bman654
10-21-2008, 05:38 PM
windows-1251. I used this page (http://2cyr.com/decode/?lang=en) to convert them to Cyrillic so I could translate them.

aaaaa
10-21-2008, 06:17 PM
Thanks. In that encoding, the Russian text in those files seems to be displayed correctly even in the complete foreigner's eys.