Re: Safari's clipboard
Re: Safari's clipboard
- Subject: Re: Safari's clipboard
- From: KOENIG Yvan <email@hidden>
- Date: Mon, 11 Aug 2008 18:10:38 +0200
Le 11 août 2008 à 16:24, Philip Aker a écrit :
On Aug 11, 2008, at 1:49 AM, KOENIG Yvan wrote:
what is the difference between "Unicode Text" and "Utf16" ?
Unicode text has type code 'utxt' and means 16-bit Unicode text in
the natural byte order of the currently running system.
"Utf16" (which I've never seen in an AppleScript context until you
mentioned how to show it recently) mostly likely is the AppleEvent
text type 'ut16' and is documented briefly:
/* The preferred unicode text types. In both cases, there is no
explicit null termination or length byte. */
enum {
typeUTF16ExternalRepresentation = 'ut16', /* big-endian 16 bit
unicode with optional byte-order-mark, or little-endian 16 bit
unicode with required byte-order-mark. */
typeUTF8Text = 'utf8' /* 8 bit unicode */
};
Thanks Philip
You may see class Ut16 if you run the script
set theClip to the clipboard as record after copying a table from any
web page from Safari (or Firefox).
Yvan KOENIG (from FRANCE lundi 11 août 2008 18:10:16)
_______________________________________________
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