On Sat, 2010-10-23 at 01:24 +0330, John Smith wrote:
> Hi
> 
> I'm receiving an utf-8 encoded redirect url's from a website, but it
> seems that httpclient (?) treat them as US-ASCII (?) so it can not
> handle them correctly.
> 

URLs are not meant to have any characters other than US-ASCII.
HttpClient's behavior is correct.


> Is there any way to correct this behavior? Or is there any way to
> convert incorrectly encoded string back to correct one (to be used in
> a custom redirect handler)?
> 

You can implement a custom redirect handler and reformat the redirect
location as you see fit

Hope this helps

Oleg



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to