Skip to content

Commit 4932196

Browse files
committed
RestClientResponseException defaults to UTF-8
Closes gh-23764
1 parent 1b43b09 commit 4932196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-web/src/main/java/org/springframework/web/client/RestClientResponseException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -33,7 +33,7 @@ public class RestClientResponseException extends RestClientException {
3333

3434
private static final long serialVersionUID = -8803556342728481792L;
3535

36-
private static final Charset DEFAULT_CHARSET = StandardCharsets.ISO_8859_1;
36+
private static final Charset DEFAULT_CHARSET = StandardCharsets.UTF_8;
3737

3838

3939
private final int rawStatusCode;

0 commit comments

Comments
 (0)