public final class AdditionalCharsets
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.nio.charset.Charset |
UTF_8_BOM
UTF-8 charset with an optional Byte-Order Mark at the beginning.
|
static java.nio.charset.Charset |
UTF_8_OR_16
A charset that decodes UTF-8 (with or without BOM) or UTF-16 (with BOM), and encodes UTF-8.
|
public static final java.nio.charset.Charset UTF_8_BOM
StandardCharsets.UTF_8public static final java.nio.charset.Charset UTF_8_OR_16
StandardCharsets.UTF_8,
StandardCharsets.UTF_16