Most visited

Recently visited

Added in API level 19

StandardCharsets

public final class StandardCharsets
extends Object

java.lang.Object
   ↳ java.nio.charset.StandardCharsets


标准Charsets常量定义。 这些字符集保证在Java平台的每个实现中都可用。

也可以看看:

Summary

Fields

public static final Charset ISO_8859_1

ISO拉丁字母号

public static final Charset US_ASCII

七位ASCII码,又名

public static final Charset UTF_16

十六位UCS转换格式,由可选的字节顺序标记标识的字节顺序

public static final Charset UTF_16BE

十六位UCS转换格式,大端字节顺序

public static final Charset UTF_16LE

十六位UCS转换格式,小端字节顺序

public static final Charset UTF_8

八位UCS转换格式

Inherited methods

From class java.lang.Object

Fields

ISO_8859_1

Added in API level 19
Charset ISO_8859_1

ISO拉丁字母第1号,又名ISO-LATIN-1

US_ASCII

Added in API level 19
Charset US_ASCII

七位ASCII,即ISO646-US,又名Unicode字符集的基本拉丁块

UTF_16

Added in API level 19
Charset UTF_16

十六位UCS转换格式,由可选的字节顺序标记标识的字节顺序

UTF_16BE

Added in API level 19
Charset UTF_16BE

十六位UCS转换格式,大端字节顺序

UTF_16LE

Added in API level 19
Charset UTF_16LE

十六位UCS转换格式,小端字节顺序

UTF_8

Added in API level 19
Charset UTF_8

八位UCS转换格式

Hooray!