The encoding names are found with textEncode and textDecode. There you can see the name needs a hyphen. Try "UTF-8". (You can also open the file for binary or use binfifle: and then use textDecode.)
> On Jun 15, 2016, at 7:54 PM, Tim Selander <[email protected]> wrote: > > LC 8, Dictionary says it can be done, but does not give a sample. No syntax > I've tried works. > > How do you open a file encoded in UTF8? > > open file <filePath> for UTF8 read > > does not work. > > Thanks. > > Tim Selander > Tokyo, Japan > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
