decode and encode component is intended to be used in parts of the query. Take the following url for example:
http://www.google.com/search?q=fox%26hound |___________| < component The bigggest difference between encode and encodeComponent is what special chars it will encode. Notice above %26, which is an ampersand. This will only be encoded with encodeComponent, not encode. On Sep 10, 10:00 am, Kady <[email protected]> wrote: > What is the difference between URL.decode and URL.decodeComponent > methods ? Any example is appreciated. > > Thank you. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
