summaryrefslogtreecommitdiff
path: root/ebcdic_tables.h
Commit message (Collapse)AuthorAgeFilesLines
* Make many EBCDIC tables generated instead of hand-codedKarl Williamson2014-05-311-0/+607
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.