diff --git a/docs/src/docs/asciidoc/configuration.adoc b/docs/src/docs/asciidoc/configuration.adoc index 7941cb9e..a290c72c 100644 --- a/docs/src/docs/asciidoc/configuration.adoc +++ b/docs/src/docs/asciidoc/configuration.adoc @@ -57,6 +57,11 @@ include::{examples-dir}/com/example/mockmvc/CustomEncoding.java[tags=custom-enco include::{examples-dir}/com/example/restassured/CustomEncoding.java[tags=custom-encoding] ---- +TIP: When Spring REST Docs converts a request or response's content to a String, the +`charset` specified in the `Content-Type` header will be used if it is available. In its +absence, the JVM's default `Charset` will be used. The JVM's default `Charset` can be +configured using the `file.encoding` system property. + [[configuration-snippet-template-format]]