Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: High performance way to encode HTML entities
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: High performance way to encode HTML entities



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
References: 
 >High performance way to encode HTML entities (From: "email@hidden" <email@hidden>)
 >Re: High performance way to encode HTML entities (From: Sander Tekelenburg <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.