Accoring to the JSON spec the default encoding for JSON is UTF-8:
JSON text SHALL be encoded in UTF-8, UTF-16, or UTF-32. The default encoding is UTF-8
I happend to see a service which responds an http error with a JSON body, the content type was application/json and no explicit character encoding was given:
Content-Type: application/json
I would assume then, that RestClientResponseException.getResponseBodyAsString() would correctly return the String with the JSON default encoding, i.e. UTF-8. But it does return it converted into ISO_8859_1, which breaks UTF-8 encoded Umlaute.
Edit: Oh, I see. In the latest RestClientResponseException the default charset became UTF-8. Sorry, I was on an outdated Spring version. I close this.