diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-11-12 09:05:19 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-11-22 13:32:51 -0800 |
commit | d02f4dad561ba81f934560f8eab051147a45e09e (patch) | |
tree | 55beb313f848843ad63aca8c05d7162b04686b82 /generate_uudmap.c | |
parent | 6d8e7a01cde4803f9769fb51a041fbd8a839e0b2 (diff) | |
download | perl-d02f4dad561ba81f934560f8eab051147a45e09e.tar.gz |
PL_fold wrong for EBCDIC platforms.
The PL_fold table map on EBCDIC only works on the ASCII-subrange
characters, not the full native Latin1.
To fix this, I moved the table to utfebcdic.h for EBCDIC platforms, and
actually changed it to three tables, one for each of the code pages
known to Perl.
There is no EBCDIC platform available to test on. What I did was hack
together a program from existing code that does EBCDIC transforms. I
ran it in ASCII mode, and verified that the generated table was
identical to the Latin1 table I had previously constructed by hand and
extensively tested. I then ran it on each of the three EBCDIC
transforms, and verified that each matched the places in the original
table that I knew were correct, all the ASCII alphabetics, the controls,
and a few other code points.
So these tables are at least as correct as the existing one, as they are
identical to it for [A-Z], [a-z].
Diffstat (limited to 'generate_uudmap.c')
0 files changed, 0 insertions, 0 deletions