Archive: UTF-16LE INI files


UTF-16LE INI files
Hey guys,

I use the Modern UI to make some custom pages for my installer and some of the text that is displayed is stored in the INI files. My problem is that some characters don't display correctly on OS's that have different codepage. I'm trying to find a temporary solution to the problem because eventually I would like to switch to the Unicode version of NSIS.
I didn't do much testing but it seems that saving the INI files as Unicode (UTF-16LE) seems to solve the problem. Do you guys see any problem on saving the INI files as UTF-16 LE? I was thinking that I should keep everything in ANSI since I'm using the ANSI version of NSIS.
Thanks

:)


Not sure if unicode ini files work win9x, probably not. Or you could move to MUI2 and nsDialogs to drop all ini files


Thanks Anders -

I'm not too worried of dropping win9x support. What worries me the most is that NSIS calls to work with the INI file are ANSI calls. Is this going to break something?
Are there other options beside Unicode NSIS?


Use TxtConv.exe to convert the INI file to and from UTF-16LE.

Stu