diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-05 13:54:08 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-10-05 13:54:08 +0000 |
commit | bc128d2952f90d40a463f42c5774a7d86be21f10 (patch) | |
tree | e6b12aa73b59e6039abc5ed5a9cd8764bdebd12d /dump.c | |
parent | 77524eb8e06bb850393ab3c3862841363462ff3d (diff) | |
download | perl-bc128d2952f90d40a463f42c5774a7d86be21f10.tar.gz |
Don't assume that %x is good for displaying UVs.
p4raw-id: //depot/perl@12341
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -156,7 +156,7 @@ Perl_sv_uni_display(pTHX_ SV *dsv, SV *ssv, STRLEN pvlim) break; } u = utf8_to_uvchr((U8*)s, 0); - Perl_sv_catpvf(aTHX_ dsv, "\\x{%x}", u); + Perl_sv_catpvf(aTHX_ dsv, "\\x{%"UVxf"}", u); } sv_catpvn(dsv, "\"", 1); if (truncated) |