/** * */ package org.frameworkset.util.encoder; /** * @author yinbp * * @Date:2016-11-18 12:14:26 */ public class CharEncoding { /** * CharEncodingISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1. * <p> * Every implementation of the Java platform is required to support this character encoding. * * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public static final String ISO_8859_1 = "ISO-8859-1"; /** * Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set. * <p> * Every implementation of the Java platform is required to support this character encoding. * * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public static final String US_ASCII = "US-ASCII"; /** * Sixteen-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) * <p> * Every implementation of the Java platform is required to support this character encoding. * * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public static final String UTF_16 = "UTF-16"; /** * Sixteen-bit Unicode Transformation Format, big-endian byte order. * <p> * Every implementation of the Java platform is required to support this character encoding. * * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public static final String UTF_16BE = "UTF-16BE"; /** * Sixteen-bit Unicode Transformation Format, little-endian byte order. * <p> * Every implementation of the Java platform is required to support this character encoding. * * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public static final String UTF_16LE = "UTF-16LE"; /** * Eight-bit Unicode Transformation Format. * <p> * Every implementation of the Java platform is required to support this character encoding. * * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> */ public static final String UTF_8 = "UTF-8"; }