This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
If Unicode keys are entered to a hash, a bit is turned on.
authorJarkko Hietaniemi <jhi@iki.fi>
Fri, 22 Mar 2002 04:07:13 +0000 (04:07 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Fri, 22 Mar 2002 04:07:13 +0000 (04:07 +0000)
commit574c8022b1fdc7312bf9a5af037c8f777b60b6db
tree06b4317b44c20a0a8683822193a3359385f3c9bf
parent3fbcfac442ddabdaab668242ba16ca26c5edd56c
If Unicode keys are entered to a hash, a bit is turned on.
If the bit is on, when the keys are fetched from the hash
(%h, each %h, keys %h), the Unicodified versions of the keys
are returned if needed.  This solution errs on the size of
over-Unicodifying, the old solution erred on the side of
under-Unicodifying.  As long as the hash keys can be a mix
of byte and Unicode strings, a perfect fit is hard to come by.

p4raw-id: //depot/perl@15407
doop.c
dump.c
ext/Devel/Peek/Peek.t
hv.c
hv.h
pod/perlunicode.pod
pp.c
sv.h
t/op/pat.t