Re: Bad Characters from Unicode
Re: Bad Characters from Unicode
- Subject: Re: Bad Characters from Unicode
- From: Luther Fuller <email@hidden>
- Date: Tue, 2 Oct 2007 15:39:40 -0500
I found this note ...
Applescript Sourcebook @ macscripter.net / What is the difference
between "string", "text", "unicode text"...?
which describes how to get unicode from raw data.
And you can get very nice Unicode tables at
http://www.unicode.org/charts/
It works like this:
set x to «data utxt____» as Unicode text
where ____ is four hex digits, will create a unicode character. If
you want a string, use
set x to «data utxt____________» as Unicode text
If you need a character in the range 0000 thru 007F, you can use
set x to «data utf8__» as Unicode text
Question: Is there any way to coerce a character back to data,
preferably as a decimal integer?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden