Charsets

object Charsets

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

Properties

ISO_8859_1
Link copied to clipboard
val ISO_8859_1: Charset

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

US_ASCII
Link copied to clipboard
val US_ASCII: Charset

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

UTF_16
Link copied to clipboard
val UTF_16: Charset

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

UTF_16BE
Link copied to clipboard
val UTF_16BE: Charset

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

UTF_16LE
Link copied to clipboard
val UTF_16LE: Charset

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

UTF_32
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

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

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

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

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

UTF_8
Link copied to clipboard
val UTF_8: Charset

Eight-bit UCS Transformation Format.