Skip to content

Commit

Permalink
fix googleapis#300 Request charset defaults to UTF-8, Response charse…
Browse files Browse the repository at this point in the history
…t defaults to ISO_8859_1
  • Loading branch information
ajaaym committed Dec 4, 2018
1 parent 7d1f23a commit e843e70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 e843e70

Please sign in to comment.