Skip to content

Commit

Permalink
Request charset defaults to UTF-8, Response charset defaults to ISO_8…
Browse files Browse the repository at this point in the history
…859_1 (googleapis#532)
  • Loading branch information
ajaaym authored and chingor13 committed Dec 4, 2018
1 parent 7d1f23a commit ab627ed
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -98,7 +98,7 @@ public AbstractHttpContent setMediaType(HttpMediaType mediaType) {
*/
protected final Charset getCharset() {
return mediaType == null || mediaType.getCharsetParameter() == null
? Charsets.UTF_8 : mediaType.getCharsetParameter();
? Charsets.ISO_8859_1 : mediaType.getCharsetParameter();
}

public String getType() {
Expand Down

0 comments on commit ab627ed

Please sign in to comment.