This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Output appropriately dire warning for high code points
authorKarl Williamson <khw@cpan.org>
Tue, 10 Nov 2015 00:00:53 +0000 (17:00 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 25 Nov 2015 22:48:17 +0000 (15:48 -0700)
commit0bcdd8f637dcb47195d0b03e4a732446a096e440
treecee2a8e25633cef699a8ab5df1276f5014583724
parent046d01eb242f598dd4a5018bad27720813b779e6
Output appropriately dire warning for high code points

Code points above 2**31-1 have never been in any standard, so their use
is non-portable.  There has been a more dire warning raised at times
when decoding UTF-8 into a UV, but it wasn't getting output always when
it was appropriate.  Going the other way, into UTF-8, there was only one
type of warning output.  This commit splits that into the more dire for
higher code points.
ext/XS-APItest/t/utf8.t
utf8.c