Subject: | broken with :crlf flag on |
I discovered that File::Slurper was failing when calling read_text on a valid UTF-8 file with CRLF conversion, with the error "Can't decode ill-formed UTF-8 octet sequence <A8>". I've narrowed the issue down and it only occurs with :utf8_strict:crlf, not with :utf8_strict. Test case is very simple:
open my $fh, '<:unix:utf8_strict:crlf', 'Kursav.fwdata';
do { local $/; <$fh> };
These IO layers mimic what File::Slurper does. I've attached the file that causes the issue. It's large (I don't have time to experiment to find a smaller file, sorry).
Subject: | Kursav.fwdata |
Message body not shown because it is not plain text.