opening txt files

Robert Sneidar slylabs13 at
Thu Jan 17 13:40:14 EST 2013

Hey that's nice, thanks!


On Jan 17, 2013, at 6:32 AM, Klaus on-rev wrote:

> Hi friends,
> Am 16.01.2013 um 18:15 schrieb Nishok Love < at>:
>> ...
>> So I'm still looking for a way for LiveCode to spot whether it's opening a file in UTF-8 or UTF-16 (or something else - aaarrgh!). Can I access the file header? read from file just gives me the data...
> I found an old script that Mark Waddingham supplied in the past when I had some problems
> reading VCards in 3.0 format (unicode). I think it can be used to open ANY txt file.
> I do not fully understand it, so I leave it uncommented ;-)
> In any case it will convert any given text file to Livecode readable plain text.
> Comments are from Mark W.


More information about the use-livecode mailing list