summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2008-09-25 11:55:49 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2008-09-25 11:55:49 +0000
commitce0834da0562c5f3c9382d676f504c04cfaeeedd (patch)
treef30f7d98bbba36cb4703d77b8953e7ba48264c22 /utf8.c
parent2402d92aa31488ba2d6b8ad7ec5fc36057f4c0a2 (diff)
downloadperl-ce0834da0562c5f3c9382d676f504c04cfaeeedd.tar.gz
pv_uni_display () omitted backslash in output string
p4raw-id: //depot/perl@34416
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/utf8.c b/utf8.c
index 3b5d5d4a9c..6939a4d94c 100644
--- a/utf8.c
+++ b/utf8.c
@@ -2288,6 +2288,7 @@ Perl_pv_uni_display(pTHX_ SV *dsv, const U8 *spv, STRLEN len, STRLEN pvlim, UV f
}
if (ok) {
const char string = ok;
+ sv_catpvn(dsv, "\\", 1);
sv_catpvn(dsv, &string, 1);
}
}