spring-framework / org.springframework.http.codec.multipart / MultipartHttpMessageWriter / setCharset

setCharset

open fun setCharset(charset: Charset): Unit

Set the character set to use for part headers such as "Content-Disposition" (and its filename parameter).

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