What is the best way to encode URL strings such that they are rfc2396 compliant and to decode a rfc2396 compliant string such that for example %20 is replaced with a space c
Use java.net.URLEncoder and java.net.URLDecoder.