This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make many EBCDIC tables generated instead of hand-coded
authorKarl Williamson <khw@cpan.org>
Mon, 28 Apr 2014 22:57:16 +0000 (16:57 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 31 May 2014 16:20:54 +0000 (10:20 -0600)
commit4bc3dcfa1b5036dd61b541e01ed1ea7eb668f907
tree8bfe4f85b6c36df6456d256cff41e108f79b2dc2
parent6ff677df5d6fe0f52ca0b6736f8b5a46ac402943
Make many EBCDIC tables generated instead of hand-coded

This causes the generated file ebcdic_tables.h to be #included by
utfebcdic.h instead of the hand-coded tables that were formerly there.
This makes it much easier to add or remove support for EBCDIC code
pages.

The UTF-EBCDIC-related tables for 037 and POSIX-BC are somewhat modified
from what they were before.  They were changed by hand minimally a long
time ago to prevent segfaults, but in so doing, they lost an important
sorting characteristic of UTF-EBCDIC.  The machine-generated versions
retain the sorting, while also not doing the segfaults. utfebcdic.h has
more detail about this, regarding tr16.
MANIFEST
ebcdic_tables.h [new file with mode: 0644]
regen/ebcdic.pl [new file with mode: 0644]
utfebcdic.h