diff options
author | Pali <pali@cpan.org> | 2016-09-18 17:19:59 +0200 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-02-06 20:09:22 -0700 |
commit | 6d8e74506f971081362433e3d39fe2e4da9fb302 (patch) | |
tree | 92d34f6ffce0728d9ece2ad8c7c52d3d6a9287c9 /pod/perlrun.pod | |
parent | 42e9b60980bb8e29e76629e14c6aa945194c0647 (diff) | |
download | perl-6d8e74506f971081362433e3d39fe2e4da9fb302.tar.gz |
pod: Suggest to use strict :encoding(UTF-8) PerlIO layer over not strict :encoding(utf8)
For data exchange it is better to use strict UTF-8 encoding and not perl's utf8.
Diffstat (limited to 'pod/perlrun.pod')
-rw-r--r-- | pod/perlrun.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod index 9d59a6af36..b4bb5a3c6a 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -1121,7 +1121,7 @@ A pseudolayer that enables a flag in the layer below to tell Perl that output should be in utf8 and that input should be regarded as already in valid utf8 form. B<WARNING: It does not check for validity and as such should be handled with extreme caution for input, because security violations -can occur with non-shortest UTF-8 encodings, etc.> Generally C<:encoding(utf8)> is +can occur with non-shortest UTF-8 encodings, etc.> Generally C<:encoding(UTF-8)> is the best option when reading UTF-8 encoded data. =item :win32 |