| View previous topic :: View next topic |
| Author |
Message |
autos06 Enthusiastic Coder
Joined: 13 May 2006 Posts: 123 Location: New York
| |
Klimapol Enthusiastic Coder
Joined: 27 May 2006 Posts: 134
| |
Poolkop Enthusiastic Coder
Joined: 01 Jun 2006 Posts: 123
|
HS^, urls are only ascii
if you try to put anything non-ascii into an url you need to encode it...
and then you start having problems...
Reply with quote
|
| |
|
|
autos06 Enthusiastic Coder
Joined: 13 May 2006 Posts: 123 Location: New York
| |
Poolkop Enthusiastic Coder
Joined: 01 Jun 2006 Posts: 123
|
HS^: since there is no standard how you encode non-ascii characters... (utf-8? latin-1? <other encoding>?)
Reply with quote
|
| |
|
|
autos06 Enthusiastic Coder
Joined: 13 May 2006 Posts: 123 Location: New York
| |
Poolkop Enthusiastic Coder
Joined: 01 Jun 2006 Posts: 123
|
HS^, tias...
depending on how the client is configured and the web server is configured it may or may not work...
but if the client uses one encoding and the server another then the error is in a the specification beeing to loose
Reply with quote
|
| |
|
|
autos06 Enthusiastic Coder
Joined: 13 May 2006 Posts: 123 Location: New York
| |
Klimapol Enthusiastic Coder
Joined: 27 May 2006 Posts: 134
|
HS^, only use URLEncoder on those parts of the String that need encoding.
HS^, are you using the encode(String) or encode(String,String)?
Reply with quote
|
| |
|
|
Poolkop Enthusiastic Coder
Joined: 01 Jun 2006 Posts: 123
|
HS^, you are having a url and URLEncoder is for "HTML form encoding"
url is not a html form, they may partially use the same encoding....
Reply with quote
|
| |
|
|
|