loopj/android-async-http — pull request #57 by ajlyon (2012-05-29 05:27:25+00:00)
Title: Set default charset to UTF-8 in AsyncHttpResponseHandler

``EntityUtils.toString(entity)`` defaults to ISO-8859-1, which is pretty inconvenient and rarely desired in modern APIs commonly encountered by Android apps. This pull request changes the default to UTF-8, which strikes me as a more common case. If deemed appropriate, I can rework this to keep the current default encoding and make it easier to override (maintaining reverse-compatibility), but this is a more sensible default.

Cf. http://hc.apache.org/httpcomponents-core-ga/httpcore/apidocs/org/apache/http/util/EntityUtils.html#toString(org.apache.http.HttpEntity)