If the result of shell() is run through textDecode, should then shell() return 
binary data? This puts it outside the scope of "everywhere". I like the idea, 
as long as simple ASCII characters work transparently. 

Currently, "is strictly" says it is a string, not a binary string.

As far as the question, perhaps a rhetorical question, there are some binary 
streams that are not UTF-16 or UTF-8. 

> On Aug 22, 2019, at 1:24 PM, Richard Gaskin via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Dar Scott wrote:
> 
> > Concerning 22335...
> >
> > 1. I wonder if anyone uses shell() to return binary values.
> 
> In the modern Unicode world, what is "text" and what is "binary"?
> 
> I believe MacOS' HFS+ and Win's NFS use UTF-16 natively, Linux  EXT4 uses 
> UTF-8.
> 
> It might seem simple to have a habit of running file names through 
> textDecode, but since fopen uses ANSI I'm not sure what the implications are.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> ambassa...@fourthworld.com                http://www.FourthWorld.com
> 
> _______________________________________________
> 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


_______________________________________________
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