nicjedi
03-18-2016, 02:19 AM
Hello guys,
I have a big problem in our installation script:
we are passed few years ago from ANSI to UTF-8 in our software, so all our text files ( also INI) are automatically converted in UTF-8 first time they are opened by one of our software.
Last month we found errors on some old ANSI ini files after and update to newer version, and after a big amount of debug we found that the problem is the Edit INI file command of setupbuilder.
Is possible that, due the fact that the "new" file we save in the installer is written in UTF-8, the Edit INI file command save text written in UTF-8 also if the file opened is ANSI?
Thats because, if we upgrade the version, we do not overwrite the INI file, so it's still an ANSI file.
Hope you can help me
Nicola
I have a big problem in our installation script:
we are passed few years ago from ANSI to UTF-8 in our software, so all our text files ( also INI) are automatically converted in UTF-8 first time they are opened by one of our software.
Last month we found errors on some old ANSI ini files after and update to newer version, and after a big amount of debug we found that the problem is the Edit INI file command of setupbuilder.
Is possible that, due the fact that the "new" file we save in the installer is written in UTF-8, the Edit INI file command save text written in UTF-8 also if the file opened is ANSI?
Thats because, if we upgrade the version, we do not overwrite the INI file, so it's still an ANSI file.
Hope you can help me
Nicola