diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-10-12 18:11:24 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-10-12 18:11:24 +0000 |
commit | 2ef4b6742e0ba3a235ff787ef1289fa04447ab83 (patch) | |
tree | 274d7ec8c1481d2915a6327fce9467720c31591c /mg.c | |
parent | 2d40587f8bc1d7f497b2734cc969247fa74c9ac9 (diff) | |
download | perl-2ef4b6742e0ba3a235ff787ef1289fa04447ab83.tar.gz |
restore change#7202
p4raw-link: @7202 on //depot/perl: c3fbb29af1dd039d12fa65f0dc334e804a3883fc
p4raw-id: //depot/perl@7204
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1425,6 +1425,8 @@ Perl_magic_getsubstr(pTHX_ SV *sv, MAGIC *mg) if (rem + offs > len) rem = len - offs; sv_setpvn(sv, tmps + offs, (STRLEN)rem); + if (DO_UTF8(lsv)) + SvUTF8_on(sv); return 0; } |