diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-01-12 15:33:41 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-01-12 15:33:41 +0000 |
commit | 699c3c3425f2b312fd24050e39cded6eb124bea2 (patch) | |
tree | 081ba5f8f2e13a686f3a60527c1736bac21a0e4d /t | |
parent | 803ff55641d8801318ea5097e11eee271b53a17a (diff) | |
download | perl-699c3c3425f2b312fd24050e39cded6eb124bea2.tar.gz |
One more UTF-8 fix from Inaba Hiroto.
p4raw-id: //depot/perl@8415
Diffstat (limited to 't')
-rwxr-xr-x | t/pragma/utf8.t | 12 |
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 +} |