source:
trunk/src/gcc/libjava/scripts/encodings.pl@
2
| Last change on this file since 2 was 2, checked in by , 23 years ago | |
|---|---|
|
|
| File size: 1.4 KB | |
| Rev | Line | |
|---|---|---|
| [2] | 1 | # encodings.pl - Download IANA text and compute alias list. |
| 2 | # Assumes you are running this program from gnu/gcj/convert/. | |
| 3 | # Output suitable for direct inclusion in IOConverter.java. | |
| 4 | ||
| 5 | # Map IANA canonical names onto our canonical names. | |
| 6 | %map = ( | |
| 7 | 'ANSI_X3.4-1968' => 'ASCII', | |
| 8 | 'ISO_8859-1:1987' => '8859_1', | |
| 9 | 'UTF-8' => 'UTF8', | |
| 10 | 'Shift_JIS' => 'SJIS', | |
| 11 | 'Extended_UNIX_Code_Packed_Format_for_Japanese' => 'EUCJIS' | |
| 12 | ); | |
| 13 | ||
| 14 | if ($ARGV[0] eq '') | |
