Re: alias as string = as Unicode text?
Re: alias as string = as Unicode text?
- Subject: Re: alias as string = as Unicode text?
- From: John W Baxter <email@hidden>
- Date: Sun, 19 May 2002 11:57:11 -0700
At 11:32 -0700 5/19/2002, Paul Berkowitz wrote:
>
Now, how do you get the original path back out of that?
>
>
>
set stringPath to unicodeAlias as string
>
>
gets you just the "international text" version, and not the original you
>
started with. Unless, unknown to us, that formula is perhaps actually now
>
producing Unicode? (Doubtful.)
But...if the path has the mix I suggested before (a French directory name
and a Chinese directory name) there is no "International Text"
representation of that path. So "as string" couldn't produce a valid
"International Text" representation.
I'm not sure what it would produce. Error? Chinese unicode characters
stuffed into a Roman/French International Text string (ie garbage)?
At this point, I retire from the discussion, since I simply use printable
ASCII (and the occasional space) to name files, folders, and volumes.
--John
--
John Baxter email@hidden Port Ludlow, WA, USA
_______________________________________________
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.