This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Allow allowing UTF-8 overflow malformation
authorKarl Williamson <khw@cpan.org>
Sun, 11 Dec 2016 01:01:39 +0000 (18:01 -0700)
committerKarl Williamson <khw@cpan.org>
Fri, 23 Dec 2016 23:48:35 +0000 (16:48 -0700)
commitd60baaa7781e81851a5ac29fea2abebde6730478
treed17932730657798e3e2422ec429012270bec6d14
parent9495395586e6a655057cb766ed00213037dd06c0
Allow allowing UTF-8 overflow malformation

perl has never allowed the UTF-8 overflow malformation, for some reason.
But as long as overflows are turned into the REPLACEMENT CHARACTER,
there is no real reason not to.  And making it allowable allows code
that wants to carry on in the face of malformed input to do so, without
risk of contaminating things, as the REPLACEMENT is the Unicode
prescribed way of handling malformations.
ext/XS-APItest/t/utf8.t
pod/perldelta.pod
utf8.c
utf8.h