More -Mutf8 cleanup.
Jarkko Hietaniemi [Wed, 22 May 2002 22:30:57 +0000 (22:30 +0000)]
p4raw-id: //depot/perl@16747

ext/PerlIO/t/fallback.t

index 4676af4..a30d056 100644 (file)
@@ -45,9 +45,12 @@ my $line = <$fh>;
 is($line,"&#8364;0.02\n","HTML escapes");
 close($fh);
 
-open($fh,">$file") || die "File cannot be re-opened";
-print $fh "£0.02\n";
-close($fh);
+{
+    no utf8;
+    open($fh,">$file") || die "File cannot be re-opened";
+    print $fh "£0.02\n";
+    close($fh);
+}
 
 ok(open($fh,"<encoding(US-ASCII)",$file),"Opened as ASCII");
 my $line = <$fh>;