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. package org.apache.commons.codec.net;
  17. /**
  18. * String encodings used in this package.
  19. *
  20. * @author Apache Software Foundation
  21. * @since 1.3
  22. * @version $Id: StringEncodings.java,v 1.2 2004/04/09 22:21:07 ggregory Exp $
  23. */
  24. interface StringEncodings {
  25. /**
  26. * <p>
  27. * Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
  28. * </p>
  29. * <p>
  30. * Every implementation of the Java platform is required to support this character encoding.
  31. * </p>
  32. *
  33. * @see <a href="http://java.sun.com/j2se/1.3/docs/api/java/lang/package-summary.html#charenc">JRE character
  34. * encoding names</a>
  35. */
  36. String US_ASCII = "US-ASCII";
  37. /**
  38. * <p>
  39. * Eight-bit Unicode Transformation Format.
  40. * </p>
  41. * <p>
  42. * Every implementation of the Java platform is required to support this character encoding.
  43. * </p>
  44. *
  45. * @see <a href="http://java.sun.com/j2se/1.3/docs/api/java/lang/package-summary.html#charenc">JRE character
  46. * encoding names</a>
  47. */
  48. String UTF8 = "UTF-8";
  49. }