summaryrefslogtreecommitdiff
path: root/pod/perlunicode.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-02-15 21:19:37 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-02-15 21:19:37 +0000
commita05d7ebb5e798334196e3cff205b658506cc4384 (patch)
tree0146d20f2a85eeb407ef0d67305028aee32c79fc /pod/perlunicode.pod
parenteadddfac8c84315d3b083947a75b271e6d6b7754 (diff)
downloadperl-a05d7ebb5e798334196e3cff205b658506cc4384.tar.gz
The new(er) way of controlling Unicode I/O (and other) features;
-C (or PERL_UNICODE). See perlrun/-C for more details. p4raw-id: //depot/perl@18715
Diffstat (limited to 'pod/perlunicode.pod')
-rw-r--r--pod/perlunicode.pod20
1 files changed, 11 insertions, 9 deletions
diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod
index eed2066d26..95d4857b7e 100644
--- a/pod/perlunicode.pod
+++ b/pod/perlunicode.pod
@@ -1043,14 +1043,16 @@ there are a couple of exceptions:
=item *
-If your locale environment variables (LC_ALL, LC_CTYPE, LANG)
-contain the strings 'UTF-8' or 'UTF8' (matched case-insensitively)
-B<and> you enable using UTF-8 either by using the C<-C> command line
-switch or setting the PERL_UTF8_LOCALE environment variable to a true
-value, then the default encodings of your STDIN, STDOUT, and STDERR,
-and of B<any subsequent file open>, are considered to be UTF-8.
-See L<perluniintro>, L<perlfunc/open>, and L<open> for more
-information. The magic variable C<${^UTF8_LOCALE}> will also be set.
+If your locale environment variables (LC_ALL, LC_CTYPE, LANG) contain
+the strings 'UTF-8' or 'UTF8' (matched case-insensitively) B<and> you
+enable using UTF-8 either by using the C<-C> command line switch or
+setting the PERL_UNICODE environment variable to be, C<"L">, an empty
+string, (see L<perlrun> and the documentation for the C<-C> switch for
+more information about the possible values), then the default
+encodings of your STDIN, STDOUT, and STDERR, and of B<any subsequent
+file open>, are considered to be UTF-8. See L<perluniintro>,
+L<perlfunc/open>, and L<open> for more information. The magic
+variable C<${^UNICODE}> will also be set.
=item *
@@ -1407,6 +1409,6 @@ the UTF-8 flag:
=head1 SEE ALSO
L<perluniintro>, L<encoding>, L<Encode>, L<open>, L<utf8>, L<bytes>,
-L<perlretut>, L<perlvar/"${^UTF8_LOCALE}">
+L<perlretut>, L<perlvar/"${^UNICODE}">
=cut