diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-11-01 17:00:02 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-11-01 17:00:02 +0000 |
commit | f92351d76e07aa24c84fb6f3ce6b7cd97592c9f5 (patch) | |
tree | eb0fff5301aba42e99bf81089d2c71311deab8ad /libjava/scripts | |
parent | 347b93640a0f52c452ba575de200ce3c5f8a06e6 (diff) | |
download | gcc-f92351d76e07aa24c84fb6f3ce6b7cd97592c9f5.zip gcc-f92351d76e07aa24c84fb6f3ce6b7cd97592c9f5.tar.gz gcc-f92351d76e07aa24c84fb6f3ce6b7cd97592c9f5.tar.bz2 |
encodings.pl: Added `ASCII' alias.
* scripts/encodings.pl: Added `ASCII' alias.
* Makefile.in: Rebuilt.
* Makefile.am (convert_source_files): Added new files.
* gnu/gcj/convert/Input_ASCII.java: New file.
* gnu/gcj/convert/Output_ASCII.java: New file.
* gnu/gcj/convert/Output_8859_1.java (write): Use `?' to represent
out-of-range characters.
* gnu/gcj/convert/natIconv.cc (iconv_init): New method.
(read): Swap bytes if required. Treat `count' as character count,
not byte count.
(write): Likewise. Also, handle case where iconv fails on a given
character.
(init): Put encoding into exception.
* gnu/gcj/convert/IOConverter.java (iconv_byte_swap): New global.
(static): Call iconv_init. Rebuilt alias list.
(iconv_init): New private method.
From-SVN: r37190
Diffstat (limited to 'libjava/scripts')
-rw-r--r-- | libjava/scripts/encodings.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libjava/scripts/encodings.pl b/libjava/scripts/encodings.pl index f2f6499..4c7f057 100644 --- a/libjava/scripts/encodings.pl +++ b/libjava/scripts/encodings.pl @@ -4,6 +4,7 @@ # Map IANA canonical names onto our canonical names. %map = ( + 'ANSI_X3.4-1968' => 'ASCII', 'ISO_8859-1:1987' => '8859_1', 'UTF-8' => 'UTF8', 'Shift_JIS' => 'SJIS', |