Text File Encoding advice
Posted: Sat Jul 13, 2013 12:26 am
Hi everyone,
So I have an INI file that sits in my Application's Path
I read each line of it and put the setting into an array. Everything works well, except that the file does not load cleanly unless it is saved as ASCII. Notepad's standard save is UTF-8.
The INI file will be saved from WITHIN Livecode via "Advanced Setup" card in the installer. All other data is saved in database, this ini file is the only one I need to read and write.
Will livecode always save my file as ASCII and then read it as that?..... or does this depend on the plaform? Am I good to go forward just like this using ascii?
I want to save Localization features for the next version.
Thanks,
Tom
So I have an INI file that sits in my Application's Path
I read each line of it and put the setting into an array. Everything works well, except that the file does not load cleanly unless it is saved as ASCII. Notepad's standard save is UTF-8.
The INI file will be saved from WITHIN Livecode via "Advanced Setup" card in the installer. All other data is saved in database, this ini file is the only one I need to read and write.
Will livecode always save my file as ASCII and then read it as that?..... or does this depend on the plaform? Am I good to go forward just like this using ascii?
I want to save Localization features for the next version.
Thanks,
Tom