New EBCDIC encodings.
commit68ac8a9f73e4c7238402a3557e6c08bfeaaf701a
authorBruno Haible <bruno@clisp.org>
Sun, 23 Jan 2022 22:37:30 +0000 (23 23:37 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 23 Jan 2022 22:37:30 +0000 (23 23:37 +0100)
treeda66b86bd1e6ea8b36a9955e309e817eb28ca516
parent58976846405a71c1fe6b2aedfbee9dd8a90bd401
New EBCDIC encodings.

Reported by Ulrich Schwab and Calvin Buckley via Jack Woehr.

* NOTES: Mention how to enable EBCDIC encodings.
* tests/IBM-*.TXT: New files.
* tools/8bit_tab_to_h.c (main): Emit copyright header with year 2022.
* tools/Makefile: Add rules for generating ebcdic*.h.
* lib/ebcdic*.h: New files, automatically generated by tools/Makefile.
* lib/ebcdic838.h: Tweak reverse mapping manually.
* lib/ebcdic1160.h: Likewise.
* lib/converters.h: Include all ebcdic*.h.
* lib/encodings_zos.def: New file.
* lib/genaliases2.c: Include encodings_zos.def.
* lib/genflags.c: Likewise.
* Makefile.devel (lib/aliases_zos.h lib/canonical_zos.h): New rule.
(lib/flags.h, totally-clean): Update.
* lib/aliases2.h: Include aliases_zos.h.
* lib/iconv.c (USE_ZOS): New macro.
Include encodings_zos.def, canonical_zos.h.
* README, man/iconv_open.3: Document the IBM-* encodings.
* tests/Makefile.in (check-extra-yes): Also test the EBCDIC encodings.
123 files changed:
.gitignore
ChangeLog
Makefile.devel
NOTES
README
lib/aliases2.h
lib/converters.h
lib/ebcdic037.h [new file with mode: 0644]
lib/ebcdic1025.h [new file with mode: 0644]
lib/ebcdic1026.h [new file with mode: 0644]
lib/ebcdic1047.h [new file with mode: 0644]
lib/ebcdic1097.h [new file with mode: 0644]
lib/ebcdic1112.h [new file with mode: 0644]
lib/ebcdic1122.h [new file with mode: 0644]
lib/ebcdic1123.h [new file with mode: 0644]
lib/ebcdic1130.h [new file with mode: 0644]
lib/ebcdic1132.h [new file with mode: 0644]
lib/ebcdic1137.h [new file with mode: 0644]
lib/ebcdic1140.h [new file with mode: 0644]
lib/ebcdic1141.h [new file with mode: 0644]
lib/ebcdic1142.h [new file with mode: 0644]
lib/ebcdic1143.h [new file with mode: 0644]
lib/ebcdic1144.h [new file with mode: 0644]
lib/ebcdic1145.h [new file with mode: 0644]
lib/ebcdic1146.h [new file with mode: 0644]
lib/ebcdic1147.h [new file with mode: 0644]
lib/ebcdic1148.h [new file with mode: 0644]
lib/ebcdic1149.h [new file with mode: 0644]
lib/ebcdic1153.h [new file with mode: 0644]
lib/ebcdic1154.h [new file with mode: 0644]
lib/ebcdic1155.h [new file with mode: 0644]
lib/ebcdic1156.h [new file with mode: 0644]
lib/ebcdic1157.h [new file with mode: 0644]
lib/ebcdic1158.h [new file with mode: 0644]
lib/ebcdic1160.h [new file with mode: 0644]
lib/ebcdic1164.h [new file with mode: 0644]
lib/ebcdic1165.h [new file with mode: 0644]
lib/ebcdic1166.h [new file with mode: 0644]
lib/ebcdic12712.h [new file with mode: 0644]
lib/ebcdic16804.h [new file with mode: 0644]
lib/ebcdic273.h [new file with mode: 0644]
lib/ebcdic277.h [new file with mode: 0644]
lib/ebcdic278.h [new file with mode: 0644]
lib/ebcdic280.h [new file with mode: 0644]
lib/ebcdic282.h [new file with mode: 0644]
lib/ebcdic284.h [new file with mode: 0644]
lib/ebcdic285.h [new file with mode: 0644]
lib/ebcdic297.h [new file with mode: 0644]
lib/ebcdic423.h [new file with mode: 0644]
lib/ebcdic424.h [new file with mode: 0644]
lib/ebcdic425.h [new file with mode: 0644]
lib/ebcdic4971.h [new file with mode: 0644]
lib/ebcdic500.h [new file with mode: 0644]
lib/ebcdic838.h [new file with mode: 0644]
lib/ebcdic870.h [new file with mode: 0644]
lib/ebcdic871.h [new file with mode: 0644]
lib/ebcdic875.h [new file with mode: 0644]
lib/ebcdic880.h [new file with mode: 0644]
lib/ebcdic905.h [new file with mode: 0644]
lib/ebcdic924.h [new file with mode: 0644]
lib/encodings_zos.def [new file with mode: 0644]
lib/genaliases2.c
lib/genflags.c
lib/iconv.c
man/iconv_open.3
tests/IBM-037.TXT [new file with mode: 0644]
tests/IBM-1025.TXT [new file with mode: 0644]
tests/IBM-1026.TXT [new file with mode: 0644]
tests/IBM-1047.TXT [new file with mode: 0644]
tests/IBM-1097.TXT [new file with mode: 0644]
tests/IBM-1112.TXT [new file with mode: 0644]
tests/IBM-1122.TXT [new file with mode: 0644]
tests/IBM-1123.TXT [new file with mode: 0644]
tests/IBM-1130.TXT [new file with mode: 0644]
tests/IBM-1132.TXT [new file with mode: 0644]
tests/IBM-1137.TXT [new file with mode: 0644]
tests/IBM-1140.TXT [new file with mode: 0644]
tests/IBM-1141.TXT [new file with mode: 0644]
tests/IBM-1142.TXT [new file with mode: 0644]
tests/IBM-1143.TXT [new file with mode: 0644]
tests/IBM-1144.TXT [new file with mode: 0644]
tests/IBM-1145.TXT [new file with mode: 0644]
tests/IBM-1146.TXT [new file with mode: 0644]
tests/IBM-1147.TXT [new file with mode: 0644]
tests/IBM-1148.TXT [new file with mode: 0644]
tests/IBM-1149.TXT [new file with mode: 0644]
tests/IBM-1153.TXT [new file with mode: 0644]
tests/IBM-1154.TXT [new file with mode: 0644]
tests/IBM-1155.TXT [new file with mode: 0644]
tests/IBM-1156.TXT [new file with mode: 0644]
tests/IBM-1157.TXT [new file with mode: 0644]
tests/IBM-1158.TXT [new file with mode: 0644]
tests/IBM-1160.IRREVERSIBLE.TXT [new file with mode: 0644]
tests/IBM-1160.TXT [new file with mode: 0644]
tests/IBM-1164.TXT [new file with mode: 0644]
tests/IBM-1165.TXT [new file with mode: 0644]
tests/IBM-1166.TXT [new file with mode: 0644]
tests/IBM-12712.TXT [new file with mode: 0644]
tests/IBM-16804.TXT [new file with mode: 0644]
tests/IBM-273.TXT [new file with mode: 0644]
tests/IBM-277.TXT [new file with mode: 0644]
tests/IBM-278.TXT [new file with mode: 0644]
tests/IBM-280.TXT [new file with mode: 0644]
tests/IBM-282.TXT [new file with mode: 0644]
tests/IBM-284.TXT [new file with mode: 0644]
tests/IBM-285.TXT [new file with mode: 0644]
tests/IBM-297.TXT [new file with mode: 0644]
tests/IBM-423.TXT [new file with mode: 0644]
tests/IBM-424.TXT [new file with mode: 0644]
tests/IBM-425.TXT [new file with mode: 0644]
tests/IBM-4971.TXT [new file with mode: 0644]
tests/IBM-500.TXT [new file with mode: 0644]
tests/IBM-838.IRREVERSIBLE.TXT [new file with mode: 0644]
tests/IBM-838.TXT [new file with mode: 0644]
tests/IBM-870.TXT [new file with mode: 0644]
tests/IBM-871.TXT [new file with mode: 0644]
tests/IBM-875.TXT [new file with mode: 0644]
tests/IBM-880.TXT [new file with mode: 0644]
tests/IBM-905.TXT [new file with mode: 0644]
tests/IBM-924.TXT [new file with mode: 0644]
tests/Makefile.in
tools/8bit_tab_to_h.c
tools/Makefile