Re: ASCII vs. MacRoman (was Re: Standard Additions 'read' command - basic questions)
Re: ASCII vs. MacRoman (was Re: Standard Additions 'read' command - basic questions)
- Subject: Re: ASCII vs. MacRoman (was Re: Standard Additions 'read' command - basic questions)
- From: Chap Harrison <email@hidden>
- Date: Mon, 26 Jan 2004 18:18:06 -0600
The current rule is that the "as" parameter determines the "format"
(for lack of a better word) of the data. By default, it's typeText,
which is not perfect, but usually what people want, meshes well with
ASCII number/character (crosses self), and is as far as I know
guaranteed to work with any byte stream, unlike any of the Unicode
encodings. I have no plans to change this, as it makes more sense
than any alternative I've been able to think of. The notion of raw
binary I/O is somewhat counter to AppleScript philosophy, but
undeniably interesting.
Surely you jest?
AS would be laughed off the planet (including by me) if it lacked
binary I/O.
AS has to have binary I/O to compile itself like any self-respecting
language, right? ;-)
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.