Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL Encoding url

Status
Not open for further replies.

samit700

Programmer
Sep 23, 2003
52
0
0
US
Does anyone know the best way to automate the encoding of urls so that they work on most systems. The java.net.UrlEncoder.encode encodes URLs which do not work in most browsers. It also uses + for spaces whereas the browser prefers %20. What is the best way to get url encoded ???

thanks,
samit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top