hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nazar Stasiv (Lohika,Inc)" <nsta...@lohika.com>
Subject Re: encode spaces and other chars in url
Date Fri, 12 Jan 2007 14:15:14 GMT
try java.net.URLEncoder.encode(yourUrlStr, "UTF-8");

Paranoid wrote:
> hi all!
>
> have a question - what to use if there are some spaces or special chars in url that have
to be replaced with %20 or other codes?
> there is a problem not to recode http:// part... may be you have some suggestions?
>
> thanx for attention!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message