Re: Producing Unicode-only characters
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