This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Get t/io/utf8.t working under PERL_UNICODE
authorFather Chrysostomos <sprout@cpan.org>
Tue, 14 Jan 2014 14:30:23 +0000 (06:30 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 14 Jan 2014 14:30:23 +0000 (06:30 -0800)
t/io/utf8.t

index c8f37dd..acce07e 100644 (file)
@@ -392,7 +392,7 @@ is($failed, undef);
 # return values
 SKIP: {
     skip "no PerlIO::scalar on miniperl", 2, if is_miniperl();
-    open my $fh, "<",      \($buf = chr 255);
+    open my $fh, "<:raw",  \($buf = chr 255);
     open my $uh, "<:utf8", \($uuf = "\xc4\x80");
     for([$uh,chr 256], [$fh,chr 255]) {
        is getc $$_[0], $$_[1],