From: Jarkko Hietaniemi Date: Mon, 11 Aug 2003 04:24:34 +0000 (+0000) Subject: Explain the 'Wide character in print' a bit more. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cd28123a2c77a86bd3079d0bff9f940c7270fdb6;p=p5sagit%2Fp5-mst-13.2.git Explain the 'Wide character in print' a bit more. p4raw-id: //depot/perl@20608 --- diff --git a/pod/perldiag.pod b/pod/perldiag.pod index 30ea1ff..2d29e70 100644 --- a/pod/perldiag.pod +++ b/pod/perldiag.pod @@ -4467,9 +4467,12 @@ 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. This warning is by default on for I/O (like print) but can be -turned off by C. You are supposed to explicitly -mark the filehandle with an encoding, see L and L. +one. This warning is by default on for I/O (like print). The easiest +way to quiet this warning is simply to add the C<:utf8> layer to the +output, e.g. C. Another way to turn off the +warning is to add C but that is often closer to +cheating. In general, you are supposed to explicitly mark the +filehandle with an encoding, see L and L. =item Within []-length '%c' not allowed