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 <jac...@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. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode