Hello KMKU,
The wire log converts all content to ASCII, and encodes all non-ASCII characters to the format you've seen. The actual content of the HTTP response (available via HttpMethod.getResponseBody*() methods) correctly handles charsets. The wire log is just meant for debugging.
Mike
On May 25, 2004, at 2:24 AM, K.M. Ku wrote:
HI,
I am using commons-httpclient-2.0.
This UTF8 web page gives wired code:
http://springerlink.metapress.com/app/home/journal.asp? wasp=c28459nnmjcjwhf9
rl rl&referrer=parent&backto=browsepublicationsresults,21,497;
It should show : J. Schön, F. Göritz, J. Streich, et al.
However, the wire log shows that the Unicode codes are [0xfffd][0xfffd] .
[2004-05-25 12:59:18,883] [DEBUG] [main] httpclient.wire: << " J. S ch[0xfffd][0xfffd]n, F. G[0xfffd][0xfffd]ritz, J. Streich, <I>et al.</I>[\r][\n]"
Can someone suggest me what the problem is?
Regards, KMKU
---------------------------------------------------------------------
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]