projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e2b7fef
)
Single-quoted utf8 patch from Simon Cozens.
Jarkko Hietaniemi [Wed, 31 May 2000 21:45:34 +0000 (21:45 +0000)]
p4raw-id: //depot/cfgperl@6176
toke.c
patch
|
blob
|
blame
|
history
diff --git
a/toke.c
b/toke.c
index
99c993e
..
be21c93
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-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;
}