Is it right that � shuld be %F6 and not %C3%B6 when using encoding
ISO-8859-1?
Because after executing the method I got the following String from the
method getRequestBodyAsString():
requestBody=TXT=Testtext%3A%20%C3%B6%C3%A4%C3%BC%C3%96%C3%84%C3%9C%C3%9F
Here the � is %C3%B6 instead of %F6
� is %C3%A4 instead of %E4
and so on.
The log seems to be all right but the result isn't.
Thomas
-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 3. Februar 2003 17:04
An: Commons HttpClient Project
Betreff: Re:AW: POST method - Default content encoding
Mathis,
I have double-checked the code and so far I have got no reason to assume it
produces errnous results. I have run a simple echo test against HttpClient
test web application. All Umlauts appear to be doing fine there.
I do not know the inner working of the CGI application you are using to
perform content encoding check. So, I can't tell if everything is all right
there
I can advise you to run your test locally with the following system
properties:
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Dorg.apache.commons.logging.simplelog.log.httpclient.wire=debug
-Dorg.apache.commons.logging.simplelog.log.org.apache.commons.httpclient=deb
ug
You sould see the following line in the debug trace, if encoding charset has
not been explicitly specified:
[DEBUG] HttpMethod - -Default charset used: ISO-8859-1
Or better yet, send the debug trace for examination
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]