This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/test.pl: Allow native/latin1 string conversions to work on utf8.
authorKarl Williamson <public@khwilliamson.com>
Sun, 24 Feb 2013 23:19:49 +0000 (16:19 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 29 Aug 2013 15:55:55 +0000 (09:55 -0600)
These functions no longer have the hard-coded definitions in them,
but now end up resolving to internal functions, so that new encodings
could be added and these would automatically understand them.

Instead of using tr///, these now go character by character and
converting to/from ord, which is slower, but allows them to operate on
utf8 strings.

Peephole optimization should make these essentially no-ops on ascii
platforms.


No differences found