Importing UTF-8 files
Monte Goulding
monte at sweattechnologies.com
Tue Aug 18 17:59:14 EDT 2015
The thing is importing using file mode changes the line endings which is perfectly fine in UTF8. It's still UTF8 afterwards which is why textDecode still works. You could just textDecode then script the replacement of the line endings but it's probably easier for the engine to do it.
Sent from my iPhone
> On 19 Aug 2015, at 7:32 am, J. Landman Gay <jacque at hyperactivesw.com> wrote:
>
> Thanks for that. As Monte said, it turns out "file" works, but I didn't expect it because the entry for textDecode talks about binary files.
More information about the use-livecode
mailing list