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:
2d6becb
)
EBCDIC tweak.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 4 May 2002 16:25:37 +0000
(16:25 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sat, 4 May 2002 16:25:37 +0000
(16:25 +0000)
p4raw-id: //depot/perl@16395
ext/Storable/t/utf8hash.t
patch
|
blob
|
blame
|
history
diff --git
a/ext/Storable/t/utf8hash.t
b/ext/Storable/t/utf8hash.t
index
25d5307
..
a545ac7
100644
(file)
--- a/
ext/Storable/t/utf8hash.t
+++ b/
ext/Storable/t/utf8hash.t
@@
-45,8
+45,12
@@
for $Storable::canonical (0, 1) {
# first we generate a nasty hash which keys include both utf8
# on and off with identical PVs
+no utf8; # we have a naked 8-bit byte below (in Latin 1, anyway)
+
+# In Latin 1 -ese the below ord() should end up 0xc0 (192),
+# in EBCDIC 0x64 (100). Both should end up being UTF-8/UTF-EBCDIC.
my @ords = (
-
0xc0,
# LATIN CAPITAL LETTER A WITH GRAVE
+
ord("Á"),
# LATIN CAPITAL LETTER A WITH GRAVE
0x3000, #IDEOGRAPHIC SPACE
);