summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorSimon Cozens <simon@netthink.co.uk>2000-12-02 19:49:35 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-12-04 16:25:15 +0000
commit3c1071f27f81b6dfd8d73d825ae7de3c747da907 (patch)
tree7a254a84ba48570e24432b4a0dc4e9417d7adc64 /pp.c
parent8e4bc33bdf4ed8200ffbc530cba09e11f3edc232 (diff)
downloadperl-3c1071f27f81b6dfd8d73d825ae7de3c747da907.tar.gz
(Retracted by #7978, too shaky yet.)
Subject: Re: utf8 in hash keys, implementor missing Message-ID: <20001202194935.A25673@pembro33.pmb.ox.ac.uk> The first step at UTF-8 hash keys. p4raw-id: //depot/perl@7977
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pp.c b/pp.c
index 10e6c6aa99..b3e2030769 100644
--- a/pp.c
+++ b/pp.c
@@ -2693,6 +2693,8 @@ PP(pp_each)
EXTEND(SP, 2);
if (entry) {
PUSHs(hv_iterkeysv(entry)); /* won't clobber stack_sp */
+ if (SvUTF8((SV*)hash))
+ SvUTF8_on(TOPs);
if (gimme == G_ARRAY) {
SV *val;
PUTBACK;