Closed
Description
If a response body doesn't specify a charset in the Content-Type, AsyncHttpClient defaults to ISO_8859_1.
For Content-Type: application/json
without a charset specified, the default should be UTF-8, instead of ISO_8859_1.
Valid JSON is never encoded as ISO_8859_1
This would be a breaking change, so would have to be done at the appropriate time.
From the JSON RFC (https://tools.ietf.org/html/rfc7159) :
This document updates [RFC4627], which describes JSON and registers
the media type "application/json".
JSON text SHALL be encoded in UTF-8, UTF-16, or UTF-32. The default
encoding is UTF-8, and JSON texts that are encoded in UTF-8 are
interoperable in the sense that they will be read successfully by the
maximum number of implementations;