charset

JVM
1.0
fun charset(charsetName: String): Charset

Returns a named charset with the given charsetName name.

Exceptions

UnsupportedCharsetException - If the specified named charset is not available.