p4raw-id: //depot/perl@14568
}
# Spot check a few points in/out of utf8
-for my $i (0x41,128,256,0x20AC)
+for my $i (ord('A'),128,256,0x20AC)
{
my $c = chr($i);
my $o = encode_utf8($c);
chop $a;
ok( is_utf8($a)); # weird but true: an empty UTF-8 string
-
-
-