Still happens with:
This is perl 5, version 28, subversion 1 (v5.28.1) built for
i686-linux-gnu-thread-multi-64int
(with 61 registered patches, see perl -V for more detail)
# printf "\x9c\x5a" | perl -CI -ne '/[^#]*/'
Malformed UTF-8 character: \x9c (unexpected continuation byte 0x9c,
This still happens with 5.24.1-1. It can be reduced to
printf "\x9c\x5a" | perl -CI -ne '/[^#]*/'
The byte sequence is indeed invalid utf8 (as shown by iconv as well),
but you're explicitly telling Perl (with -CS) that it's getting utf8 on
stdin. This is a recipe for problems.
So I'm not
Control: found -1 5.24.1-1
On Sun, Jan 29, 2017 at 06:23:30PM +0100, Leszek Dubiel wrote:
> Package: perl
> Version: 5.20.2-3+deb8u6
> Severity: normal
>
> This is stripped out program version that causes error:
>
> printf "\x41\x9c\x5a\x0a" | perl -CS -e '$_ = <>; /^(.*)$/ && print
>
Package: perl
Version: 5.20.2-3+deb8u6
Severity: normal
This is stripped out program version that causes error:
printf "\x41\x9c\x5a\x0a" | perl -CS -e '$_ = <>; /^(.*)$/ && print
"($1)\n"; /[^#]*/;'
It displays:
(A�Z)
Malformed UTF-8 character (fatal) at -e line 1,
4 matches
Mail list logo