summaryrefslogtreecommitdiff
path: root/pod
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 /pod
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 'pod')
-rw-r--r--pod/perldiag.pod5
1 files changed, 4 insertions, 1 deletions
diff --git a/pod/perldiag.pod b/pod/perldiag.pod
index 2a3f5d097a..56b6950e9f 100644
--- a/pod/perldiag.pod
+++ b/pod/perldiag.pod
@@ -4184,7 +4184,10 @@ So put in parentheses to say what you really mean.
=item Wide character in %s
-(W utf8) Perl met a wide character (>255) when it wasn't expecting one.
+(W utf8) Perl met a wide character (>255) when it wasn't expecting
+one. This warning is by default on for I/O (like print) but can be
+turned off by C<no warnings 'utf8';>. You are supposed to explicitly
+mark the filehandle with an encoding, see L<open> and L<perlfunc/binmode>.
=item write() on closed filehandle %s