spring-framework / org.springframework.http.codec / FormHttpMessageReader / setDefaultCharset

setDefaultCharset

open fun setDefaultCharset(charset: Charset): Unit

Set the default character set to use for reading form data when the request Content-Type header does not explicitly specify it.

By default this is set to "UTF-8".