diff options
-rw-r--r-- | pod/perlrun.pod | 9 | ||||
-rw-r--r-- | pod/perlvar.pod | 7 |
2 files changed, 9 insertions, 7 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod index 8f7f5afa95..7c5b6ba448 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -305,13 +305,14 @@ C<open()> layer are UTF-8-fied B<but> only if the locale environment variables indicate a UTF-8 locale. This behaviour follows the I<implicit> (and problematic) UTF-8 behaviour of Perl 5.8.0. -You can use C<-C0> (or C<"0"> for $ENV{PERL_UNICODE} ) to explicitly +You can use C<-C0> (or C<"0"> for $ENV{PERL_UNICODE}) to explicitly disable all the above Unicode features. -See L<perlfunc/open>, and L<open> for more information. - The read-only magic variable C<${^UNICODE}> reflects the numeric value -of this setting, see L<perlvar/"${^UNICODE}">. +of this setting. This is variable is set during Perl startup and is +thereafter read-only. If you want runtime effects, use the three-arg +open() (see L<perlfunc/open), the two-arg binmode() (see L<perlfunc/binmode>), +and the C<open> pragma (see L<open>). (In Perls earlier than 5.8.1 the C<-C> switch was a Win32-only switch that enabled the use of Unicode-aware "wide system call" Win32 APIs. diff --git a/pod/perlvar.pod b/pod/perlvar.pod index a4e889562e..df456cbd55 100644 --- a/pod/perlvar.pod +++ b/pod/perlvar.pod @@ -1117,9 +1117,10 @@ B<-t> or B<-TU>). This variable is read-only. =item ${^UNICODE} -Reflects certain Unicode settings of Perl. See L<perlrun> for more -information about the possible values. This variable is set during -Perl startup and thereafter read-only. +Reflects certain Unicode settings of Perl. See L<perlrun> +documentation for the C<-C> switch for more information about +the possible values. This variable is set during Perl startup +and is thereafter read-only. =item $PERL_VERSION |