LiveCode repo name change fixer

Monte Goulding monte at sweattechnologies.com
Thu Sep 10 06:40:27 EDT 2015


> On 10 Sep 2015, at 8:18 pm, Mark Waddingham <mark at livecode.com> wrote:
> 
> Indeed. I think this is actually something we can change without causing any problems:
> 
> If a script only stack file contains a BOM at the start then engine only processes it as UTF-8.
> 
> If a script only stack file does not contain a BOM, then it tries to decode as UTF-8 if this fails it decodes as native platform encoding.
> 
> This should work because it is incredibly unlikely that a native platform encoded textfile will appear as well-formed UTF-8.

I wouldn’t worry about the native encoding. Just throw an error mentioning utf8 and be done with it.


More information about the use-livecode mailing list