summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-06-25 15:18:15 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-06-25 15:18:15 +0000
commitaefe6dfccddf8cd17a61950ab2c2f527a046180c (patch)
treeeb86cc8880cced4002450b8dbd9bc65b5962378d /pp_hot.c
parent84cecde127a75f822b4452edaf547563c7f19b13 (diff)
downloadperl-aefe6dfccddf8cd17a61950ab2c2f527a046180c.tar.gz
Unicode s/// buglet found by Gregor Chrupala in perl-unicode.
p4raw-id: //depot/perl@17353
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pp_hot.c b/pp_hot.c
index de2dec4464..22c54fcfde 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2089,6 +2089,8 @@ PP(pp_subst)
SPAGAIN;
}
SvTAINT(TARG);
+ if (doutf8)
+ SvUTF8_on(TARG);
LEAVE_SCOPE(oldsave);
RETURN;
}