Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: URLEncode and decode [Was: POST message]



It looks like that page is relying on the browser's _javascript_ implementation. I am in the habit of simply typing into the Safari address bar:

_javascript_:alert(escape("Make this text look ugly!"))

To help explain escaping and unescaping to a client, I once through together more elaborate scripts which would make good Button Bar bookmarks if you are doing this kind of thing a lot:

_javascript_:var myStr=prompt("Please enter a string to escape:"); alert("Unescaped string: " + myStr + "\n" + "Escpaped string: " + escape(myStr));

_javascript_:var myStr=prompt("Please enter a string to unescape:"); alert("Escaped string: " + myStr + "\n" + "Unescpaped string: " + unescape(myStr));

Daniel

On Sep 5, 2005, at 11:43 PM, Heath Raftery wrote:

One little related tidbit I should have mentioned earlier - I've just been going through my bookmarks and remembered this handy little reference:


The URLEncode and URLDecode page <http://www.albionresearch.com/misc/urlencode.php>


which will encode and decode sections of text you provide.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden

References: 
 >POST message (From: "Jan E. Schotsman" <email@hidden>)
 >Re: POST message (From: Heath Raftery <email@hidden>)
 >Re: POST message (From: "Jan E. Schotsman" <email@hidden>)
 >URLEncode and decode [Was: POST message] (From: Heath Raftery <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.