setEncoding

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

Sets the character encoding to be used when reading source files. Defaults to null, in which case the platform default encoding will be used.