No longer blindly assume utf8 on input files (RT#59877)
[catagits/Test-EOL.git] / lib / Test / EOL.pm
index 1b5b8c4..7666fd5 100644 (file)
@@ -98,7 +98,7 @@ sub eol_unix_ok {
 
     open my $fh, $file or do { $Test->ok(0, $test_txt); $Test->diag("Could not open $file: $!"); return; };
     # Windows-- , default is :crlf, which hides \r\n  -_-
-    binmode( $fh, ':raw:utf8' );
+    binmode( $fh, ':raw' );
     my $line = 0;
     my @fails;
     while (<$fh>) {