hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <http-as...@dubioso.net>
Subject Re: can i set url encoding?
Date Mon, 19 Mar 2007 17:59:35 GMT
Hallo Paranoid,

there is no standard way of determining an encoding for
URLs. The standard is US-ASCII, nothing else allowed.
A common non-standard is UTF-8. Otherwise, you'll have
to guess. You could try to fetch some page from the
server and see what encoding is used for the _content_
of that page. Of course there's no guarantee that the
same encoding will be understood for URLs.
Odi provides some details on URL character encoding in
our Application Design FAQ, section "GET with Query":

hope this helps,

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

View raw message