1 /* 2 * Copyright 2001-2004 The Apache Software Foundation. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package org.apache.commons.codec.net; 18 19 /** 20 * String encodings used in this package. 21 * 22 * @author Apache Software Foundation 23 * @since 1.3 24 * @version $Id: StringEncodings.java,v 1.2 2004/04/09 22:21:07 ggregory Exp $ 25 */ 26 interface StringEncodings { 27 /** 28 * <p> 29 * Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set. 30 * </p> 31 * <p> 32 * Every implementation of the Java platform is required to support this character encoding. 33 * </p> 34 * 35 * @see <a href="http://java.sun.com/j2se/1.3/docs/api/java/lang/package-summary.html#charenc">JRE character 36 * encoding names</a> 37 */ 38 String US_ASCII = "US-ASCII"; 39 40 /** 41 * <p> 42 * Eight-bit Unicode Transformation Format. 43 * </p> 44 * <p> 45 * Every implementation of the Java platform is required to support this character encoding. 46 * </p> 47 * 48 * @see <a href="http://java.sun.com/j2se/1.3/docs/api/java/lang/package-summary.html#charenc">JRE character 49 * encoding names</a> 50 */ 51 String UTF8 = "UTF-8"; 52 } 53