Code page detection on taget computer
How can you detect which code page is used by target computer?
I'm making an installer that is using SerbianLatin language file, and it works fine if target computer has nonUnicode language set to Serbian. My problem is that most computers in my country are set to use English for nonUnicode and that makes my <Ä Ä‡ ž Å¡ Ä‘> appear as <è æ ž Å¡ ð>.
Now I can live with <c c ž Å¡ dj> (corrections I made manually to language files) until NSIS goes Unicode, but to make that I need to detect codepage of target computer and use SerbianLatin <Ä Ä‡ ž Å¡ Ä‘> or SerbianLatinModified <c c ž Å¡ dj>.
I'm guessing it goes into onInit function (before anything appears on screen) but don't know how to implement it.