From: Jarkko Hietaniemi Date: Fri, 7 Mar 2003 08:40:52 +0000 (+0000) Subject: Give pointers to runtime Unicode changes. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ab9e1bb794a9b6411f23a7479a1d2f0b62d91d9e;p=p5sagit%2Fp5-mst-13.2.git Give pointers to runtime Unicode changes. p4raw-id: //depot/perl@18848 --- diff --git a/pod/perlrun.pod b/pod/perlrun.pod index 8f7f5af..7c5b6ba 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -305,13 +305,14 @@ C layer are UTF-8-fied B only if the locale environment variables indicate a UTF-8 locale. This behaviour follows the I (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, and L for more information. - The read-only magic variable C<${^UNICODE}> reflects the numeric value -of this setting, see L. +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), +and the C pragma (see L). (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 a4e8895..df456cb 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 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 +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