> On 13 Feb 2018, at 11:56 am, Richard Gaskin via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> something more sensible


We already have:

open file for “utf-8” text

There was some discussion of implementing “file+<encoding>:/path/to/file” style 
urls to avoid having to use binfile and textDecode and manual line ending 
wrangling.

Also if there is a BOM then the unicode encoding can and is worked for file: 
urls and open file for text. It’s when there’s no BOM and no explicit encoding 
specified that the engine defaults to legacy native encodings.

Cheers

Monte
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to