diff options
Diffstat (limited to 'libjava/gnu/java/nio/charset/UTF_16.java')
-rw-r--r-- | libjava/gnu/java/nio/charset/UTF_16.java | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/libjava/gnu/java/nio/charset/UTF_16.java b/libjava/gnu/java/nio/charset/UTF_16.java index aebd14608bd..1737101d75d 100644 --- a/libjava/gnu/java/nio/charset/UTF_16.java +++ b/libjava/gnu/java/nio/charset/UTF_16.java @@ -1,5 +1,5 @@ /* UTF_16.java -- - Copyright (C) 2002, 2004 Free Software Foundation, Inc. + Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -51,7 +51,14 @@ final class UTF_16 extends Charset { UTF_16 () { - super ("UTF-16", null); + super ("UTF-16", new String[] { + // witnessed by the internet + "UTF16", + /* These names are provided by + * http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL + */ + "ISO-10646-UCS-2", "unicode", "csUnicode", "ucs-2" + }); } public boolean contains (Charset cs) |