• 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: bill <email@hidden>
  • Date: Thu, 27 Oct 2005 02:06:52 +0800

  -- "CJK UNIFIED IDEOGRAPH-28CCA"
  set a to «data utxt00028CCA» as Unicode text -- 167114
  count a
  --> 2 -- two characters

I'm surprised to see the glyph of U+28CCA, the meaning of this character is not, ... well, suitable for public discussion.


BTW, «data utxt00028CCA» does not produce code point U+28CCA, you may compare this one:

set a to «data utxt00028CCA» as Unicode text
set b to «data utxt8CCA» as Unicode text
a = b

According to character palette, the code point beyond U+FFFF, e.g. U +2F9D0 is composed by two hex values:

-- code point U+2F9D0 is composed by D87E & DDD0
set c to «data utxtD87EDDD0» as unicode text
display dialog c

Script Editor sometime can't display unicode text correctly in result pane, you may try display dialog or sent the result to TextEdit.app.

Anyone know the mechanism why & now code point beyond U+FFFF is composed by hex values?


TIA bill







_______________________________________________
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


  • Follow-Ups:
    • Re: Producing Unicode-only characters
      • From: "Mark J. Reed" <email@hidden>
  • Prev by Date: Re: selecting from dialog list by typing
  • 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