opening utf8 text file

Tim Selander selander at tkf.att.ne.jp
Wed Jun 15 22:42:11 EDT 2016


The hyphen and the quotes made it work.

Many thanks, Dar!

Tim

On 2016/06/16 11:10, Dar Scott wrote:
> 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
>
>
> _______________________________________________
> 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