Re: Producing Unicode-only characters [was: Finding \t, \r, \n reliably]
Re: Producing Unicode-only characters [was: Finding \t, \r, \n reliably]
- Subject: Re: Producing Unicode-only characters [was: Finding \t, \r, \n reliably]
- From: Christopher Nebel <email@hidden>
- Date: Tue, 25 Oct 2005 12:36:58 -0700
On Oct 25, 2005, at 4:38 AM, Emmanuel wrote:
At 1:42 AM +0100 10/25/05, kai wrote:
One method that I've been using to produce Unicode-only characters
is:
«data utxt3048» as Unicode text
While this seems to be substantially faster than using a shell
script, I'm just wondering if there's a potential downside...
Not sure, but for some reason I never identified (since I can use
"unicode character" instead) I observed crashes with those utxt.
I dimly recall bugs of that nature in the past, but I believe they've
been fixed. Using «data utxt...» is of course much faster than a
shell script; the major "downside" is simply that it doesn't do what
(I thought) Shane was asking for, which was to convert from the
character to the code point at run-time. As long as all you need is
a compile-time constant, then it's fine.
--Chris Nebel
AppleScript and Automator Engineering
_______________________________________________
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