Skip Menu |

This queue is for tickets about the PerlIO-utf8_strict CPAN distribution.

Report information
The Basics
Id: 133233
Status: new
Priority: 0/
Queue: PerlIO-utf8_strict

People
Owner: Nobody in particular
Requestors: lautgesetz [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.007
Fixed in: (no value)



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
Download Kursav.fwdata
application/octet-stream 13.2m

Message body not shown because it is not plain text.

Sending the previous mail has failed. Please contact your admin, they can find more details in the logs.