W3cubDocs

/Kotlin

Charsets

Platform and version requirements: JVM (1.0)
object Charsets

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

Properties

Platform and version requirements: JVM (1.0)

ISO_8859_1

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

val ISO_8859_1: Charset
Platform and version requirements: JVM (1.0)

US_ASCII

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

val US_ASCII: Charset
Platform and version requirements: JVM (1.0)

UTF_16

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

val UTF_16: Charset
Platform and version requirements: JVM (1.0)

UTF_16BE

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

val UTF_16BE: Charset
Platform and version requirements: JVM (1.0)

UTF_16LE

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

val UTF_16LE: Charset
Platform and version requirements: JVM (1.0)

UTF_32

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

val UTF_32: Charset
Platform and version requirements: JVM (1.0)

UTF_32BE

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

val UTF_32BE: Charset
Platform and version requirements: JVM (1.0)

UTF_32LE

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

val UTF_32LE: Charset
Platform and version requirements: JVM (1.0)

UTF_8

Eight-bit UCS Transformation Format.

val UTF_8: Charset

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-charsets/index.html