From 66d323252598b544774a4f7a6f45164b54ecda45 Mon Sep 17 00:00:00 2001
From: Gary Gregory
US-ASCII
ISO-8859-1
UTF-8
UTF-16BE
UTF-16LE
UTF-16
US-ASCII
+ * Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set.
ISO-8859-1
+ * ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1.
UTF-8
+ * Eight-bit Unicode Transformation Format.
UTF-16BE
+ * Sixteen-bit Unicode Transformation Format, big-endian byte order.
UTF-16LE
+ * Sixteen-bit Unicode Transformation Format, little-endian byte order.
UTF-16
* Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either order - * accepted on input, big-endian used on output.)
* Every implementation of the Java platform is required to support this character encoding. + *
* * @see Standard charsets */ @@ -68,6 +70,7 @@ public class CharEncoding { * Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set. ** Every implementation of the Java platform is required to support this character encoding. + *
* * @see Standard charsets */ @@ -78,6 +81,7 @@ public class CharEncoding { * (either order accepted on input, big-endian used on output) ** Every implementation of the Java platform is required to support this character encoding. + *
* * @see Standard charsets */ @@ -87,6 +91,7 @@ public class CharEncoding { * Sixteen-bit Unicode Transformation Format, big-endian byte order. ** Every implementation of the Java platform is required to support this character encoding. + *
* * @see Standard charsets */ @@ -96,6 +101,7 @@ public class CharEncoding { * Sixteen-bit Unicode Transformation Format, little-endian byte order. ** Every implementation of the Java platform is required to support this character encoding. + *
* * @see Standard charsets */ @@ -105,6 +111,7 @@ public class CharEncoding { * Eight-bit Unicode Transformation Format. ** Every implementation of the Java platform is required to support this character encoding. + *
* * @see Standard charsets */ diff --git a/src/main/java/org/apache/commons/codec/Charsets.java b/src/main/java/org/apache/commons/codec/Charsets.java index f553b60ed9..44bb0bb1f4 100644 --- a/src/main/java/org/apache/commons/codec/Charsets.java +++ b/src/main/java/org/apache/commons/codec/Charsets.java @@ -30,19 +30,19 @@ * * *US-ASCII
ISO-8859-1
UTF-8
UTF-16BE
UTF-16LE
UTF-16
US-ASCII
+ * Seven-bit ASCII, a.k.a. ISO646-US, a.k.a. the Basic Latin block of the Unicode character set.
ISO-8859-1
+ * ISO Latin Alphabet No. 1, a.k.a. ISO-LATIN-1.
UTF-8
+ * Eight-bit Unicode Transformation Format.
UTF-16BE
+ * Sixteen-bit Unicode Transformation Format, big-endian byte order.
UTF-16LE
+ * Sixteen-bit Unicode Transformation Format, little-endian byte order.
UTF-16
* Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either order - * accepted on input, big-endian used on output.)
* Based on the public domain ("beer-ware") C implementation from Poul-Henning Kamp which was found at:
- * crypt-md5.c @ freebsd.org
+ * crypt-md5.c @ freebsd.org
+ *
* Source: - * + *
** $FreeBSD: src/lib/libcrypt/crypt-md5.c,v 1.1 1999/01/21 13:50:09 brandon Exp $ **
* Conversion to Kotlin and from there to Java in 2012. + *
** The C style comments are from the original C code, the ones with "//" from the port. + *
** This class is immutable and thread-safe. + *
* * @since 1.7 */