This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add macro for converting Latin1 to UTF-8, and use it
authorKarl Williamson <khw@cpan.org>
Fri, 15 May 2015 16:59:54 +0000 (10:59 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 4 Sep 2015 16:21:17 +0000 (10:21 -0600)
This adds a macro that converts a code point in the ASCII 128-255 range
to UTF-8, and changes existing code to use it when the range is known to
be restricted to this one, rather than the previous macro which accepted
a wider range (any code point representable by 2 bytes), but had an
extra test on EBCDIC platforms, hence was larger than necessary and
slightly slower.


No differences found