• 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: Unicode Character in File Name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode Character in File Name


  • Subject: Re: Unicode Character in File Name
  • From: Luther Fuller <email@hidden>
  • Date: Mon, 06 Apr 2009 09:42:58 -0500

While scripting this, I noticed something that may be of interest.
The following script ought to write "A" to the console, but it errors:

	tell application "Finder"
		set charID to (id of "A") -- this works
		character id charID -- this errors
	end tell
	log the result

Make a small change and now this works:

	tell application "Finder"
		set charID to (id of "A") -- this works
		tell me to character id charID -- this now works too
	end tell
	log the result

"A" is now written to the console.

It appears that the Finder can correctly convert character to id number, but cannot convert id number to character. But, which is the bug?

_______________________________________________
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/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Unicode Character in File Name
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Re: Unicode Character in File Name (From: CYB <email@hidden>)

  • Prev by Date: RE: Parallel Processing in AppleScript
  • Next by Date: Rép: Unicode Character in File Name
  • Previous by thread: Re: Unicode Character in File Name
  • Next by thread: Re: Unicode Character in File Name
  • Index(es):
    • Date
    • Thread