uncovered by #7980.
p4raw-id: //depot/perl@7982
if ((!SvFAKE(sv = *svp) || !SvREADONLY(sv)) && !IS_PADCONST(sv)) {
key = SvPV(sv, keylen);
lexname = newSVpvn_share(key, keylen, 0);
+ if (SvUTF8(sv))
+ SvUTF8_on(lexname);
SvREFCNT_dec(sv);
*svp = lexname;
}