diff options
author | Anthony Green <green@redhat.com> | 2001-09-17 02:28:53 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2001-09-17 02:28:53 +0000 |
commit | 214bcb99a10c0af77a16d2db6d416c87051cdd31 (patch) | |
tree | a3ea18bb87372975465501d33402c33236cf3a53 /libjava | |
parent | 478c61b7e166e793f4c081e5e1def8f1d80c1829 (diff) | |
download | gcc-214bcb99a10c0af77a16d2db6d416c87051cdd31.tar.gz |
Add support for iso8859_1.
From-SVN: r45649
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 4 | ||||
-rw-r--r-- | libjava/gnu/gcj/convert/IOConverter.java | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 3bb6a365351..172253d5e33 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2001-09-16 Anthony Green <green@redhat.com> + + * gnu/gcj/convert/IOConverter.java: Add support for iso8859_1. + 2001-09-14 Tom Tromey <tromey@redhat.com> * java/util/TimeZone.java: Updated list of timezones from diff --git a/libjava/gnu/gcj/convert/IOConverter.java b/libjava/gnu/gcj/convert/IOConverter.java index 353f31c609c..0f869c6fd9c 100644 --- a/libjava/gnu/gcj/convert/IOConverter.java +++ b/libjava/gnu/gcj/convert/IOConverter.java @@ -27,6 +27,7 @@ public abstract class IOConverter // Manually maintained aliases. Note that the value must be our // canonical name. hash.put ("iso-latin-1", "8859_1"); + hash.put ("iso8859_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 |