summaryrefslogtreecommitdiff
path: root/doop.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-12 05:11:20 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-12 05:11:20 +0000
commit5b781b5bd88f1a6304dcbbe8f741a84af480cee7 (patch)
tree12bf64fa0bceafeb075546c169e388a041509321 /doop.c
parente54858b049d061e51d06b86d1010dc069ad281c1 (diff)
downloadperl-5b781b5bd88f1a6304dcbbe8f741a84af480cee7.tar.gz
Andreas is busy :-)
p4raw-id: //depot/perl@14206
Diffstat (limited to 'doop.c')
-rw-r--r--doop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/doop.c b/doop.c
index 0c7abf46ca..8b02034982 100644
--- a/doop.c
+++ b/doop.c
@@ -697,6 +697,7 @@ Perl_do_sprintf(pTHX_ SV *sv, I32 len, SV **sarg)
char *pat = SvPV(*sarg, patlen);
bool do_taint = FALSE;
+ SvUTF8_off(sv);
if (DO_UTF8(*sarg))
SvUTF8_on(sv);
sv_vsetpvfn(sv, pat, patlen, Null(va_list*), sarg + 1, len - 1, &do_taint);