diff options
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perldelta.pod | 4 | ||||
-rw-r--r-- | pod/perluniintro.pod | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/pod/perldelta.pod b/pod/perldelta.pod index 11e022fb37..257c395f28 100644 --- a/pod/perldelta.pod +++ b/pod/perldelta.pod @@ -340,7 +340,9 @@ for more information about UTF-8. If your environment variables (LC_ALL, LC_CTYPE, LANG, LANGUAGE) look like you want to use UTF-8 (any of the the variables match C</utf-?8/i>), your STDIN, STDOUT, STDERR handles and the default open discipline -(see L<open>) are marked as UTF-8. +(see L<open>) are marked as UTF-8. (This feature, like other new +features that combine Unicode and I/O, work only if you are using +PerlIO, but that's is the default.) Note that after this Perl really does assume that everything is UTF-8: for example if some input handle is not, Perl will probably very soon diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod index 8222e70a93..1468ae3282 100644 --- a/pod/perluniintro.pod +++ b/pod/perluniintro.pod @@ -181,6 +181,11 @@ been led to believe that STDIN should be UTF-8, but then STDIN coming in from another command is not UTF-8, Perl will complain about the malformed UTF-8. +All features that combine Unicode and I/O also require using the new +PerlIO feature. Almost all Perl 5.8 platforms do use PerlIO, though: +you can see whether yours is by running "perl -V" and looking for +C<useperlio=define>. + =head2 Unicode and EBCDIC Perl 5.8.0 also supports Unicode on EBCDIC platforms. There, @@ -428,9 +433,7 @@ UTF-8 encoded. A C<use open ':utf8'> would have avoided the bug, or explicitly opening also the F<file> for input as UTF-8. B<NOTE>: the C<:utf8> and C<:encoding> features work only if your -Perl has been built with the new "perlio" feature. Almost all -Perl 5.8 platforms do use "perlio", though: you can see whether -yours is by running "perl -V" and looking for C<useperlio=define>. +Perl has been built with the new PerlIO feature. =head2 Displaying Unicode As Text |