Note, he is using *getRequestBodyAsString*, not getResponseBodyAsString. There is no echo.

[EMAIL PROTECTED] wrote:

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=debug

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]

Reply via email to