How to handle "+" in url

I need to pass parameter via URL that is encrypted. The encryption algorithim adds +.

Here's an example "8ckRrw+FhCE=". When this parameter is read it creates a space like this 8ckRrw FhCE=. URLDecoder interprets + as space. Is there anyway to handle such a situation.

Thanks in advance for your response.

[326 byte] By [andy_nathana] at [2007-11-27 9:01:36]
# 1
URL encode the +%2B I think
cotton.ma at 2007-7-12 21:31:23 > top of Java-index,Java Essentials,Java Programming...
# 2
You could use a valid URL... Considered using UrlEncoder?
CeciNEstPasUnProgrammeura at 2007-7-12 21:31:23 > top of Java-index,Java Essentials,Java Programming...
# 3
In javascript I use var url = "/SomeServlet?nif=" + encodeURIComponent(nif);
manuel.leiriaa at 2007-7-12 21:31:23 > top of Java-index,Java Essentials,Java Programming...
# 4
Thanks guys! URLEncoder worked for me.
andy_nathana at 2007-7-12 21:31:23 > top of Java-index,Java Essentials,Java Programming...