StandardCharsets
class StandardCharsets
| kotlin.Any | |
| ↳ | java.nio.charset.StandardCharsets |
Constant definitions for the standard charsets. These charsets are guaranteed to be available on every implementation of the Java platform.
Summary
| Properties | |
|---|---|
| static Charset! |
ISO Latin Alphabet No. |
| static Charset! |
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set. |
| static Charset! |
Sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order mark. |
| static Charset! |
Sixteen-bit UCS Transformation Format, big-endian byte order. |
| static Charset! |
Sixteen-bit UCS Transformation Format, little-endian byte order. |
| static Charset! |
Thirty-two-bit UCS Transformation Format, byte order identified by an optional byte-order mark. |
| static Charset! |
Thirty-two-bit UCS Transformation Format, big-endian byte order. |
| static Charset! |
Thirty-two-bit UCS Transformation Format, little-endian byte order. |
| static Charset! |
Eight-bit UCS Transformation Format. |
Properties
ISO_8859_1
static val ISO_8859_1: Charset!
ISO Latin Alphabet No. 1, also known as ISO-LATIN-1.
US_ASCII
static val US_ASCII: Charset!
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
UTF_16
static val UTF_16: Charset!
Sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order mark.
UTF_16BE
static val UTF_16BE: Charset!
Sixteen-bit UCS Transformation Format, big-endian byte order.
UTF_16LE
static val UTF_16LE: Charset!
Sixteen-bit UCS Transformation Format, little-endian byte order.
UTF_32
static val UTF_32: Charset!
Thirty-two-bit UCS Transformation Format, byte order identified by an optional byte-order mark.
UTF_32BE
static val UTF_32BE: Charset!
Thirty-two-bit UCS Transformation Format, big-endian byte order.
UTF_32LE
static val UTF_32LE: Charset!
Thirty-two-bit UCS Transformation Format, little-endian byte order.