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 13:30:41 +0100
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...
Known problems are:
- crap readability
- doesn't work pre-Panther (and can result in crashes).
None of the current options are particularly great. Another workaround is TextCommands' 'literal' command, but that's obviously not ideal either as it relies on a third-party application. You pays your money and takes your choice.
A passable solution would be for Apple to add a 'unicode' command to Standard Additions that takes a string containing %-escaped unicode code points and returns a unicode value, allowing users to write stuff like:
unicode "hello AB world"
Not ideal, but I reckon it'd be 'good enough'. Feel free to file a feature request on it.
HTH
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