diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-14 17:28:37 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-14 17:28:37 +0000 |
commit | 8b72f7e28da640539ef4d33ffdf1db08c772d231 (patch) | |
tree | 6672438f165f664f2bd4386f98139c4fdd712435 /t | |
parent | eedaba540bbd9967b7e1fdfd27b4f76617a87c00 (diff) | |
download | perl-8b72f7e28da640539ef4d33ffdf1db08c772d231.tar.gz |
Test cases for bug id 20000323.056 (the bug seems to be fixed).
p4raw-id: //depot/perl@7231
Diffstat (limited to 't')
-rwxr-xr-x | t/pragma/utf8.t | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/t/pragma/utf8.t b/t/pragma/utf8.t index 2b208cc167..75f6ab3a7f 100755 --- a/t/pragma/utf8.t +++ b/t/pragma/utf8.t @@ -10,7 +10,7 @@ BEGIN { } } -print "1..75\n"; +print "1..80\n"; my $test = 1; @@ -374,3 +374,27 @@ sub nok_bytes { $test++; } } + +{ + use utf8; + + print "not " unless "\x{41}" eq +v65; + print "ok $test\n"; + $test++; + + print "not " unless "\x41" eq +v65; + print "ok $test\n"; + $test++; + + print "not " unless "\x{c8}" eq +v200; + print "ok $test\n"; + $test++; + + print "not " unless "\xc8" eq +v200; + print "ok $test\n"; + $test++; + + print "not " unless "\x{221b}" eq v8731; + print "ok $test\n"; + $test++; +} |