hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NBW <email...@gmail.com>
Subject Re: Charset trouble, questionmarks
Date Wed, 02 Sep 2009 15:39:35 GMT
What about passing -Dfile.encoding=utf-8?

On Wed, Sep 2, 2009 at 10:58 AM, Magnus Olstad Hansen <magnus@magge.no>wrote:

>
> > But when you call httpclient.execute(httpget, responseHandler), the
> > BasicResponseHandler will call EntityUtils.toString, and that in turn
> > uses ISO-8859-1 as its default charset when converting the bytes it
> > receives into the string.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message