Text File Encoding advice

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
makeshyft
Posts: 222
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Text File Encoding advice

Post by makeshyft » 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
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

makeshyft
Posts: 222
Joined: Mon Apr 15, 2013 4:41 am
Contact:

Re: Text File Encoding advice

Post by makeshyft » Sat Jul 13, 2013 12:34 am

PS> Version 1 is for Windows, Mac, Linux
Founder & Developer @ MakeShyft R.D.A - https://www.makeshyft.com
Build Software with AppStarterStack for Livecode - https://www.AppStarterStack.com
Save Time with The Time Saver's Toolbox - https://www.TimeSaversToolbox.com

Post Reply