diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-05-31 21:45:34 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-05-31 21:45:34 +0000 |
commit | feee6ba43ca4d3608f6eff3d7f46fe8197d73e68 (patch) | |
tree | 55d6f96242e8f7fa50538517d3359fcd22011f81 | |
parent | e2b7feff2af4c9d2305c63ab7210f785f826d8e7 (diff) | |
download | perl-feee6ba43ca4d3608f6eff3d7f46fe8197d73e68.tar.gz |
Single-quoted utf8 patch from Simon Cozens.
p4raw-id: //depot/cfgperl@6176
-rw-r--r-- | toke.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -981,6 +981,8 @@ S_sublex_start(pTHX) p = SvPV(sv, len); nsv = newSVpvn(p, len); + if (SvUTF8(sv)) + SvUTF8_on(nsv); SvREFCNT_dec(sv); sv = nsv; } |