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
@JvmField
val ISO_8859_1: Charset

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

Since Kotlin 1.0
Link copied to clipboard
@JvmField
val US_ASCII: Charset

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
@JvmField
val UTF_16: Charset

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

Since Kotlin 1.0
Link copied to clipboard
@JvmField
val UTF_16BE: Charset

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

Since Kotlin 1.0
Link copied to clipboard
@JvmField
val UTF_16LE: Charset

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
@JvmField
val UTF_8: Charset

Eight-bit UCS Transformation Format.

Since Kotlin 1.0