This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
mktables: Use chr() instead of pack()
authorKarl Williamson <khw@cpan.org>
Sun, 24 Aug 2014 16:12:49 +0000 (10:12 -0600)
committerKarl Williamson <khw@cpan.org>
Tue, 21 Oct 2014 15:26:49 +0000 (09:26 -0600)
commit8a65147e419322d7c5ae5680e93886a7deb8b7c3
treefa704bc38c24d7a234cf0628fef38181ea5edbb6
parent60071a22d6a6c85bd3b817ebc160338978eee9bd
mktables: Use chr() instead of pack()

The input is the native code point, not the Unicode one, and so it is a
bug that pack(U) works.  The W format is what should be used, but I
think chr() is easier to read.
lib/unicore/mktables