summaryrefslogtreecommitdiff
path: root/lib/PerlIO.pm
diff options
context:
space:
mode:
authorJuerd Waalboer <#####@juerd.nl>2007-11-17 21:03:00 +0100
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-11-23 10:58:24 +0000
commit740d4bb23b722729f87a23733be98429529fd900 (patch)
tree878b0c5b967bc4472bfe693ee737fb9c2c218019 /lib/PerlIO.pm
parente056e17d86381d9e7aef09f26f070da3695a94b4 (diff)
downloadperl-740d4bb23b722729f87a23733be98429529fd900.tar.gz
[patch] :utf8 updates
Message-ID: <20071117190300.GY10696@c4.convolution.nl> p4raw-id: //depot/perl@32461
Diffstat (limited to 'lib/PerlIO.pm')
-rw-r--r--lib/PerlIO.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/PerlIO.pm b/lib/PerlIO.pm
index c0acdec4a4..42c56e888f 100644
--- a/lib/PerlIO.pm
+++ b/lib/PerlIO.pm
@@ -139,6 +139,10 @@ and then read it back in.
$in = <F>;
close(F);
+Note that this layer does not validate byte sequences. For reading
+input, using C<:encoding(utf8)> instead of bare C<:utf8>, is strongly
+recommended.
+
=item :bytes
This is the inverse of C<:utf8> layer. It turns off the flag