Re: [jslint] Re: escape & unescape
And just in case it is in the future, I'll spend the extra 20 second to type a message: The recommended function to use is encodeURIComponent instead of escape and decodeURIComponent instead of unescape. These functions work on a single value to be inserted as part of a URI. If you want instead to encode an entire URI, use the encodeURI and decodeURI functions, although these do not encode as many characters.
----- Original Message ----
From: Fred Lorrain <yahoo@...>
Sent: Tuesday, September 23, 2008 6:56:45 AM
Subject: [jslint] Re: escape & unescape
--- In jslint_com@yahoogro ups.com, "Douglas Crockford" <douglas@... >
>http://msdn. microsoft. com/library/ default.asp? url=/library/ en-us/script56/ html/js56jsmthes cape.asp
> --- In jslint_com@yahoogro ups.com, "Re Miya" <remiya_ws@> wrote:
> > This is the first time I heard that escape and unescape do not do URL
> > encoding correctly, and are not in the official standard. Where can I
> > find more information about this issue? Will this issue be resolved in
> > What solution would you propose for escape and unescape?
>The link is dead :C
Instant Messaging, free SMS, sharing photos and more... Try the new Yahoo! Canada Messenger at http://ca.beta.messenger.yahoo.com/
[Non-text portions of this message have been removed]