source: trunk/essentials/dev-lang/perl/t/io/utf8.t@ 3184

Last change on this file since 3184 was 3181, checked in by bird, 19 years ago

perl 5.8.8

File size: 7.8 KB
Line 
1#!./perl
2
3BEGIN {
4 chdir 't' if -d 't';
5 @INC = '../lib';
6 unless (find PerlIO::Layer 'perlio') {
7 print "1..0 # Skip: not perlio\n";
8 exit 0;
9 }
10}
11
12no utf8; # needed for use utf8 not griping about the raw octets
13
14require "./test.pl";
15
16plan(tests => 55);
17
18$| = 1;
19
20open(F,"+>:utf8",'a');
21print F chr(0x100).'£';