This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7d70e1
)
More -Mutf8 cleanup.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 22 May 2002 22:30:57 +0000
(22:30 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Wed, 22 May 2002 22:30:57 +0000
(22:30 +0000)
p4raw-id: //depot/perl@16747
ext/PerlIO/t/fallback.t
patch
|
blob
|
blame
|
history
diff --git
a/ext/PerlIO/t/fallback.t
b/ext/PerlIO/t/fallback.t
index
4676af4
..
a30d056
100644
(file)
--- a/
ext/PerlIO/t/fallback.t
+++ b/
ext/PerlIO/t/fallback.t
@@
-45,9
+45,12
@@
my $line = <$fh>;
is($line,"€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>;