perl-unicode

Re: Overlong UTF-8 (Re: Make Encode.pm support the real UTF-8)

2004-12-03 07:30:05
Gisle Aas <gisle(_at_)ActiveState(_dot_)com> writes:

$ perl xxx.pl | perl xxx.pl encoding
Hi
utf8 "\xF0" does not map to Unicode at xxx.pl line 10.
utf8 "\x80" does not map to Unicode at xxx.pl line 10.
utf8 "\x80" does not map to Unicode at xxx.pl line 10.
utf8 "\x80" does not map to Unicode at xxx.pl line 10.
$VAR1 = 'foo\\xF0\\x80\\x80\\x80bar
';

Was this an intentional change?

When using ':encoding(utf8)' all data after a bad byte is simply lost.
This seems like a serious perl-5.8.6 recession to me.