public class CharEncoding extends Object
Every implementation of the Java platform is required to support the following character encodings. Consult the release documentation for your implementation to see if any other encodings are supported. Consult the release documentation for your implementation to see if any other encodings are supported.
US-ASCIIISO-8859-1UTF-8UTF-16BEUTF-16LEUTF-16This class is immutable and thread-safe.
| Modifier and Type | Field and Description | 
|---|---|
| static String | ISO_8859_1CharEncodingISO Latin Alphabet No. | 
| static String | US_ASCIISeven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set. | 
| static String | UTF_16Sixteen-bit Unicode Transformation Format, The byte order specified by a mandatory initial byte-order mark
 (either order accepted on input, big-endian used on output) | 
| static String | UTF_16BESixteen-bit Unicode Transformation Format, big-endian byte order. | 
| static String | UTF_16LESixteen-bit Unicode Transformation Format, little-endian byte order. | 
| static String | UTF_8Eight-bit Unicode Transformation Format. | 
| Constructor and Description | 
|---|
| CharEncoding() | 
public static final String ISO_8859_1
Every implementation of the Java platform is required to support this character encoding.
public static final String US_ASCII
Every implementation of the Java platform is required to support this character encoding.
public static final String UTF_16
Every implementation of the Java platform is required to support this character encoding.
public static final String UTF_16BE
Every implementation of the Java platform is required to support this character encoding.
public static final String UTF_16LE
Every implementation of the Java platform is required to support this character encoding.
public static final String UTF_8
Every implementation of the Java platform is required to support this character encoding.
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.