This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add fnc to force out UTF-8 malform warnings at death
authorKarl Williamson <khw@cpan.org>
Thu, 8 Dec 2016 03:48:40 +0000 (20:48 -0700)
committerKarl Williamson <khw@cpan.org>
Fri, 23 Dec 2016 20:21:31 +0000 (13:21 -0700)
commit9cbfb8abb5bb7ce49134acc57b93eb9ae475e339
treeddc90e6d6a2ba2cc12c7079f960547ae1674769d
parent1ae6ead94905dfee43773cf3b18949c91b33f9d1
Add fnc to force out UTF-8 malform warnings at death

The bottom level UTF-8 decode routine now generates detailed messages
when it encounters malformations.  In some instances these should be
treated as croak reasons and output even if warnings are off, just
before dying.  This commit adds a function to do this.
embed.fnc
embed.h
proto.h
utf8.c