opening utf8 text file

Dar Scott 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.
> 
> Thanks.
> 
> 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:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list