Closed
Description
Environment details
- HTTP Requests with the "content-type: applications/json" response
- OS type and version: All
- Java version: All
- google-http-client version(s): All
Steps to reproduce
- A Server response "content-type: application/json" with some special characters like Chinese.
- From the https://tools.ietf.org/html/rfc4627, 3.Encoding "JSON text SHALL be encoded in Unicode. The default encoding is UTF-8."
- But in google-http-java-client/google-http-client/src/main/java/com/google/api/client/http/HttpResponse.java, it use the charset Charsets.ISO_8859_1.
Thanks!