* gnu/gcj/convert/IOConverter.java: Add `646' alias.

From-SVN: r44965
This commit is contained in:
Tom Tromey 2001-08-17 18:09:24 +00:00 committed by Tom Tromey
parent c8e6d3a499
commit d1356866eb
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-08-17 Tom Tromey <tromey@redhat.com>
* gnu/gcj/convert/IOConverter.java: Add `646' alias.
2001-08-17 Hans-J. Boehm <Hans_Boehm@hp.com>
* BigInteger.java: fix right shifts by nonzero multiples of 32.

View File

@ -27,6 +27,11 @@ public abstract class IOConverter
// Manually maintained aliases. Note that the value must be our
// canonical name.
hash.put ("iso-latin-1", "8859_1");
// On Solaris the default encoding, as returned by nl_langinfo(),
// is `646' (aka ASCII), but the Solaris iconv_open() doesn't
// understand that. We work around the problem by adding an
// explicit alias for Solaris users.
hash.put ("646", "ASCII");
// All aliases after this point are automatically generated by the
// `encodings.pl' script. Run it to make any corrections.
hash.put ("ansi_x3.4-1968", "ASCII");