Re: Coercing alias with foreign characters to Unicode text
Re: Coercing alias with foreign characters to Unicode text
- Subject: Re: Coercing alias with foreign characters to Unicode text
- From: Martin Fuhrer <email@hidden>
- Date: Mon, 10 Oct 2005 00:41:49 -0600
Thanks for the suggestions, everyone. They work well for me. Hopefully Unicode support in Applescript can be straightened out soon so we won't have to deal with messy workarounds.
As a side-note, it is interesting that coercing the Unicode text path back to an alias is finicky as well, if the path contains one of the problematic foreign characters.
set myAlias to (choose file) tell application "Finder" set myPath to (file myAlias) as Unicode text end tell
set newAlias to myPath as alias
produces an Applescript error: Can't make "eˇsˇcˇrˇzˇ.jpg" into type alias. But the following line works:
set newAlias to alias myPath
I've always used the former style to create aliases, and I thought the latter style was equivalent to the former. Perhaps this is not the case?
Martin
P.S. Emmanuel - I'm running OS X 10.4.2. |
_______________________________________________
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