diff options
author | Robin Barker <RMBarker@cpan.org> | 2002-02-06 14:01:43 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-02-06 13:59:19 +0000 |
commit | 2c4547fe91306627634f7dd6526eed3a43460162 (patch) | |
tree | 4ec41b172b0396e7bf5de49d33be43eeeefe85be | |
parent | ed46d1101c4681a31a79445e8edbb2ec2fd5341a (diff) | |
download | perl-2c4547fe91306627634f7dd6526eed3a43460162.tar.gz |
format problem
Message-Id: <200202061401.OAA25053@tempest.npl.co.uk>
p4raw-id: //depot/perl@14570
-rw-r--r-- | utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1725,7 +1725,7 @@ Perl_pv_uni_display(pTHX_ SV *dsv, U8 *spv, STRLEN len, STRLEN pvlim, UV flags) } /* isPRINT() is the locale-blind version. */ if (!ok && (flags & UNI_DISPLAY_ISPRINT) && isPRINT(u & 0xFF)) { - Perl_sv_catpvf(aTHX_ dsv, "%c", u); + Perl_sv_catpvf(aTHX_ dsv, "%c", (char)(u & 0xFF)); ok = TRUE; } } |