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
This commit is contained in:
parent
347b93640a
commit
f92351d76e
10 changed files with 246 additions and 21 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue