• 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 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

  • Prev by Date: Re: Address Book: Reference frontmost/current person
  • Next by Date: Re: Address Book: Reference frontmost/current person
  • Previous by thread: Re: Address Book: Reference frontmost/current person
  • Next by thread: Re: Producing Unicode-only characters
  • Index(es):
    • Date
    • Thread