spring-framework / org.springframework.scripting.support / ResourceScriptSource / setEncoding

setEncoding

open fun setEncoding(@Nullable encoding: String): Unit

Set the encoding used for reading the script resource.

The default value for regular Resources is "UTF-8". A null value implies the platform default.