• 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: Emmanuel <email@hidden>
  • Date: Wed, 26 Oct 2005 10:51:49 +0200

At 11:01 PM +0100 10/25/05, Nigel Garvey wrote:
  on unicodeCharacter(n)
    run script "«data utxt" & {n div 4096, n mod 4096 div 256, n mod 256
div 16, n mod 16} & "»"
  end unicodeCharacter
etc

Nigel, I read your post quickly (and then Paul's modification following Dave's remark), maybe I'm missing something: doesn't that work (and your other handlers, too) only for characters with a code lower than 65536?


You'll note that both has' TextAdditions' and Smile's "unicode number" return a list of integers, not an integer.

Emmanuel

_______________________________________________
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


References: 
 >Re: Producing Unicode-only characters (From: "Nigel Garvey" <email@hidden>)

  • Prev by Date: Re: Producing Unicode-only characters [was: Finding \t, \r, \n reliably]
  • Next by Date: Re: Producing Unicode-only characters
  • Previous by thread: Re: Producing Unicode-only characters
  • Next by thread: Re: Producing Unicode-only characters
  • Index(es):
    • Date
    • Thread