Charsets

Constant definitions for the standard charsets. These charsets are guaranteed to be available on every implementation of the Java platform.

Since Kotlin

1.0

Properties

Link copied to clipboard

ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1.

Since Kotlin 1.0
Link copied to clipboard

Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set.

Since Kotlin 1.0
Link copied to clipboard

Sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order mark.

Since Kotlin 1.0
Link copied to clipboard

Sixteen-bit UCS Transformation Format, big-endian byte order.

Since Kotlin 1.0
Link copied to clipboard

Sixteen-bit UCS Transformation Format, little-endian byte order.

Since Kotlin 1.0
Link copied to clipboard
@get:JvmName(name = "UTF32")
val UTF_32: Charset

32-bit Unicode (or UCS) Transformation Format, byte order identified by an optional byte-order mark

Since Kotlin 1.0
Link copied to clipboard
@get:JvmName(name = "UTF32_BE")
val UTF_32BE: Charset

32-bit Unicode (or UCS) Transformation Format, big-endian byte order.

Since Kotlin 1.0
Link copied to clipboard
@get:JvmName(name = "UTF32_LE")
val UTF_32LE: Charset

32-bit Unicode (or UCS) Transformation Format, little-endian byte order.

Since Kotlin 1.0
Link copied to clipboard

Eight-bit UCS Transformation Format.

Since Kotlin 1.0