Re: Producing Unicode-only characters
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