This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add utility and .h for character's UTF-8
authorKarl Williamson <public@khwilliamson.com>
Mon, 27 Aug 2012 02:26:37 +0000 (20:26 -0600)
committerKarl Williamson <public@khwilliamson.com>
Mon, 27 Aug 2012 17:49:07 +0000 (11:49 -0600)
commit61dad979a56eaefa315dbe8b01c52f0cb2723105
tree46dc72c64aacf8190cfd46011a434bbae240c9da
parente90ac8deef3476fe763ecabff1847e2652bc75ce
Add utility and .h for character's UTF-8

This add regen/utf8_strings.pl takes Unicode characters and generates
utf8_strings.h to contains #defines for macros that translate from the
name to the UTF-8.  This is needed in a few places, where previously
things were manually figured out and hard-coded in.  Doing this instead
makes this easier, and removes EBCDIC dependencies/bugs, as the file
would simply be regen'd on an EBCDIC platform.
MANIFEST
regcomp.c
regen/utf8_strings.pl [new file with mode: 0644]
regexec.c
utf8_strings.h [new file with mode: 0644]