Loading ...
Sorry, an error occurred while loading the content.
 

Re: [jslint] Re: escape & unescape

Expand Messages
  • Michael Newton
    This link is not dead: http://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Functions/encodeURIComponent And just in case it is in the future,
    Message 1 of 5 , Sep 23 3:22 PM
      This link is not dead: http://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Functions/encodeURIComponent

      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@...>
      To: jslint_com@yahoogroups.com
      Sent: Tuesday, September 23, 2008 6:56:45 AM
      Subject: [jslint] Re: escape & unescape


      --- In jslint_com@yahoogro ups.com, "Douglas Crockford" <douglas@... >
      wrote:
      >
      > --- 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
      > > the next JavaScript releases?
      > >
      > > What solution would you propose for escape and unescape?
      >
      > See
      >
      http://msdn. microsoft. com/library/ default.asp? url=/library/ en-us/script56/ html/js56jsmthes cape.asp
      >

      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]
    Your message has been successfully submitted and would be delivered to recipients shortly.