This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e3f923
)
Be UTF-EBCDIC aware.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 27 Nov 2001 01:02:21 +0000
(
01:02
+0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 27 Nov 2001 01:02:21 +0000
(
01:02
+0000)
p4raw-id: //depot/perl@13299
lib/bytes.t
patch
|
blob
|
blame
|
history
diff --git
a/lib/bytes.t
b/lib/bytes.t
index
05c748c
..
dda2b87
100644
(file)
--- a/
lib/bytes.t
+++ b/
lib/bytes.t
@@
-22,7
+22,11
@@
print ord($c) == 0x100 ? "ok 4\n" : "not ok 4\n";
{
use bytes;
- print ord($c) == 0xc4 ? "ok 5\n" : "not ok 5\n";
+ if (ord('A') == 193) {
+ print ord($c) == 0x8c ? "ok 5\n" : "not ok 5\n";
+ } else {
+ print ord($c) == 0xc4 ? "ok 5\n" : "not ok 5\n";
+ }
print length($c) == 2 ? "ok 6\n" : "not ok 6\n";
}