• 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: Producing Unicode-only characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Producing Unicode-only characters


  • Subject: Re: Producing Unicode-only characters
  • From: has <email@hidden>
  • Date: Tue, 25 Oct 2005 16:39:04 +0100

Mark J. Reed wrote:

>>unicode "hello AB world"
>
>Why invent new syntax with %?  Other languages already allow Unicode code points in string literals via backslash escapes; since AppleScript already has borrowed some of C's backslash escapes, that would seem to make more sense.

Because that would require the core language to be modified - never a trivial undertaking - whereas whipping up a quick-n-dirty osax as described is a 10-minute no-brainer. Given the absolutely glacial rate at which the AppleScript language evolves, I reckon the osax solution has a slightly better chance of being implemented this side of 2010 - 'path of least resistance' and all that.

BTW, the ideal solution would be to make the AS parser unicode-aware, obviating the need for code point escapes altogether. But there's even less chance of that happening in AS 1.x, which is why I didn't suggest it either.

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

  • Follow-Ups:
    • Re: Producing Unicode-only characters
      • From: "Gary (Lists)" <email@hidden>
    • Re: Producing Unicode-only characters
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: ACL enabling
  • Next by Date: Re: Address Book: Reference frontmost/current person
  • Previous by thread: Re: Producing Unicode-only characters
  • Next by thread: Re: Producing Unicode-only characters
  • Index(es):
    • Date
    • Thread