summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-01-12 15:33:41 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-01-12 15:33:41 +0000
commit699c3c3425f2b312fd24050e39cded6eb124bea2 (patch)
tree081ba5f8f2e13a686f3a60527c1736bac21a0e4d /t
parent803ff55641d8801318ea5097e11eee271b53a17a (diff)
downloadperl-699c3c3425f2b312fd24050e39cded6eb124bea2.tar.gz
One more UTF-8 fix from Inaba Hiroto.
p4raw-id: //depot/perl@8415
Diffstat (limited to 't')
-rwxr-xr-xt/pragma/utf8.t12
1 files changed, 11 insertions, 1 deletions
diff --git a/t/pragma/utf8.t b/t/pragma/utf8.t
index 8e4d296f5d..9137f3606b 100755
--- a/t/pragma/utf8.t
+++ b/t/pragma/utf8.t
@@ -10,7 +10,7 @@ BEGIN {
}
}
-print "1..105\n";
+print "1..106\n";
my $test = 1;
@@ -554,3 +554,13 @@ sub nok_bytes {
print "ok $test\n";
$test++; # 105
}
+
+{
+ use utf8;
+
+ my @a = split(/\xFE/, "\xFF\xFE\xFD");
+
+ print "not " unless @a == 2 && $a[0] eq "\xFF" && $a[1] eq "\xFD";
+ print "ok $test\n";
+ $test++; # 106
+}