opening utf8 text file
dsc at swcp.com
Thu Jun 16 04:10:55 CEST 2016
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 <selander at tkf.att.ne.jp> 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.
> Tim Selander
> Tokyo, Japan
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode