Re: High performance way to encode HTML entities
Re: High performance way to encode HTML entities
- Subject: Re: High performance way to encode HTML entities
- From: Emmanuel <email@hidden>
- Date: Sun, 22 Oct 2006 01:43:42 +0200
At 9:48 PM +0200 10/21/06, Sander Tekelenburg wrote:
At 11:57 +0000 UTC, on 2006-10-21, email@hidden wrote:
Was I dreaming or is there not a built-in scripting addition to encode
text (to) HTML entities?
I'm afraid you were dreaming ;)
I'm aware of 2 third-party solutions
- Unicode Checker, a scriptable app:
<http://earthlingsoft.net/UnicodeChecker/>
- has' TextCommands Scripting Addition:
<http://freespace.virgin.net/hamish.sanderson/index.html>
But I'm with Emmanuel: why not just write as «class utf8»? (You'll probably
still need to URL-encode though, which the above tools can do for you.)
And of course if you use Smile you can use its encode / decode
entities commands and its encode64/decode64 commands as well.
Emmanuel
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden