Fwd: "~" vs. "POSIX file"
Fwd: "~" vs. "POSIX file"
- Subject: Fwd: "~" vs. "POSIX file"
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 25 Oct 2006 11:43:44 -0400
Meant to reply to the list, not just Mr. Garvey:
---------- Forwarded message ----------
From: Mark J. Reed <email@hidden>
Date: Oct 25, 2006 11:43 AM
Subject: Re: "~" vs. "POSIX file"
To: Nigel Garvey <email@hidden>
On 10/25/06, Nigel Garvey <email@hidden> wrote:
Quoting the wrong message,
Sorry about that. Was on my Blackberry and had limited control over
what happened with the quoting.
So by "plain text" you meant " 'string' instead of 'Unicode text'."
That does seem (seem!) a bit inconsistent with the fact that "POSIX
path" returns Unicode text. Of course,you can always cast...
AFAIK, POSIX itself only(1) requires that the character set used in
pathname components be a strict superset of ASCII. In particular, a
byte value of decimal 47 (ASCII "/") is always treated as a pathname
separator anywhere it appears in a POSIX pathname, no matter what the
multibyte state or whatever may be.
(1) POSIX does also include a recommendation for a restricted set of
characters to use in filenames to maximize portability: it consists
only of letters (uppercase and lowercase), digits, and the punctuation
characters period/full stop, hyphen, and understore. If you follow
that recommendation, the encoding doesn't matter - as long as you
steer clear of EBCDIC. But where's the fun in that? :)
--
Mark J. Reed <email@hidden>
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden