URL Encoding for GET (replace space by %20 and more)

All, I’m sending some data to a webserver using GET.
When there is a space in the URL, I have to use ReplaceAll from space to %20.
Does a command exist to handle this kind of encoding? I think I will also have to replace other characters like !, =, &, …
If no command would exist, does someone have a list of characters that need to be replaced?

thanks

gert

If you create a dictionary of post data then you can use EncodeFormData to build the query string:

http://documentation.xojo.com/index.php/HTTPSocket.EncodeFormData

Thanks Bob.

Or if you’re not using a dictionary http://documentation.xojo.com/index.php/EncodeURLComponent

DOH! I thought that was there but couldn’t find it.