• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Coercing alias with foreign characters to Unicode text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coercing alias with foreign characters to Unicode text


  • Subject: Re: Coercing alias with foreign characters to Unicode text
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 09 Oct 2005 10:38:11 -0700
  • Thread-topic: Coercing alias with foreign characters to Unicode text

On 10/9/05 9:58 AM, "Nigel Garvey" <email@hidden>
wrote:

> I see from the Web archive that Paul B. has suggested using the Finder to
> get the name of the file and concatenating that to a Unicode coercion of
> the container folder. Fooling around with that a bit more, its seems that
> the Finder can do the entire coercion via one of its references
>
>   set myAlias to (choose file)
>   tell application "Finder"
>     set myPath to (file myAlias) as Unicode text
>   end tell

Yack. That's the one coercion (it's a sort of double-coercion since file
alias someThing must first coerce the alias) I didn't try. I tried 'myAlias
as file' and that errored.
>
>   display dialog myPath
>
> The effect in Tiger is as Paul describes: the letters alternate with the
> carons in Script Editor's result window, but display correct with
> 'display dialog'. In Jaguar, it's the other way round!


Jeez. Why can't they get this stuff right...


--
Paul Berkowitz


 _______________________________________________
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

  • Follow-Ups:
    • Re: Coercing alias with foreign characters to Unicode text
      • From: Martin Fuhrer <email@hidden>
References: 
 >Re: Coercing alias with foreign characters to Unicode text (From: "Nigel Garvey" <email@hidden>)

  • Prev by Date: Re: recursion depth
  • Next by Date: do shell script and stdout
  • Previous by thread: Re: Coercing alias with foreign characters to Unicode text
  • Next by thread: Re: Coercing alias with foreign characters to Unicode text
  • Index(es):
    • Date
    • Thread