Re: Unicode text and paths
Re: Unicode text and paths
- Subject: Re: Unicode text and paths
- From: has <email@hidden>
- Date: Thu, 2 Jun 2005 21:48:49 +0100
I wrote:
>> > Umm, any reason you're not just using:
>> >
>> > someDir as Unicode text & "file"
>>
>>I tried, but it doesn't work...
>
>Yup, should do... but doesn't. Looks like bugs in AppleScript's coercion routines. Might want to file a bug report on that. Anyway, use the POSIX path-based approach I showed earlier; it's not affected by this bug and is more reliable than mucking with HFS paths anyhow.
Wait... no, 'POSIX path of someDir' is broken in a different way: it returns the wrong path. What a scunner. (Tested on AS 1.9.1 - not tried it on AS 1.10 but wouldn't be surprised if it's jiggered there as well; AS's unicode support has always been pretty flaky.) Feel free to file a bug report on that as well. <sigh>
Guess you're stuck with the Finder then [touch-wood], unless you want to use something else.
has
--
http://freespace.virgin.net/hamish.sanderson/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden