projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cc6b47
)
EBCDIC: pack U is no more equal to concat of \xHHs.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 11 Feb 2002 23:38:28 +0000
(23:38 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Mon, 11 Feb 2002 23:38:28 +0000
(23:38 +0000)
p4raw-id: //depot/perl@14649
t/op/each.t
patch
|
blob
|
history
diff --git
a/t/op/each.t
b/t/op/each.t
index
cb4cd2d
..
0110da0
100755
(executable)
--- a/
t/op/each.t
+++ b/
t/op/each.t
@@
-163,7
+163,7
@@
ok ($ol > 3, "check encoding on EBCDIC");
%u = ($d => "downgrade");
for (keys %u) {
ok (length == 3, "check length");
- is ($_,
"\xe3\x81\xAF"
, "check value");
+ is ($_,
pack("U*", 0xe3, 0x81, 0xAF)
, "check value");
}
{
{ use bytes; ok (bytes::length($d) == $ol) }