summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-31 15:26:41 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-31 15:26:41 +0000
commit62961d2e50d22e7ae5a679eac7bf6d593193e108 (patch)
treef95115fdf1647a324092e9463ab667a475f4036d /doio.c
parent725d232a70026302b7898692e2e17c43b9ad4e76 (diff)
downloadperl-62961d2e50d22e7ae5a679eac7bf6d593193e108.tar.gz
Turn the I/O Unicode error by default on, but the
character-generating Unicode error by default off, as Larry suggested. p4raw-id: //depot/perl@14505
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doio.c b/doio.c
index ab74d4a21c..3c06585356 100644
--- a/doio.c
+++ b/doio.c
@@ -1223,7 +1223,7 @@ Perl_do_print(pTHX_ register SV *sv, PerlIO *fp)
}
else if (DO_UTF8(sv)) {
if (!sv_utf8_downgrade((sv = sv_mortalcopy(sv)), TRUE)
- && ckWARN(WARN_UTF8))
+ && ckWARN_d(WARN_UTF8))
{
Perl_warner(aTHX_ WARN_UTF8, "Wide character in print");
}