[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-users
Subject:    Re: can i set url encoding?
From:       Roland Weber <http-async () dubioso ! net>
Date:       2007-03-19 17:59:35
Message-ID: 45FECF87.4050605 () dubioso ! net
[Download RAW message or body]

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":
http://wiki.apache.org/jakarta-httpclient/FrequentlyAskedApplicationDesignQuestions#head-608332884523b67a1e00f1b5f2a7a144fa58ca64


hope this helps,
  Roland

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic