hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paranoid" <parano...@ukr.net>
Subject Re[2]: encode spaces and other chars in url
Date Mon, 15 Jan 2007 08:05:14 GMT
thanx for reply, but this updates full url, may be there is some way to encode part after http://
without string merging?

> 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


Mime
View raw message