summaryrefslogtreecommitdiff
path: root/pod/perlunicode.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-07 07:08:15 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-07 07:08:15 +0000
commit3969a89698ec7136fcf0eb1062fdf63f0e7726f4 (patch)
treeabeba671289226d1cb9b5858d8acfdeba9a3cb58 /pod/perlunicode.pod
parent154a3d541e7a9364fb47632cc34c63cdb1d8eda3 (diff)
downloadperl-3969a89698ec7136fcf0eb1062fdf63f0e7726f4.tar.gz
remove $^U dependent behaviors in runtime; chr() and sprintf('%c',...)
now return bytes all the way to 255, they will be transparently coerced (in future) to UTF-8 when they are used in operations involving other UTF-8 strings; C<use utf8> doesn't set $^U anymore p4raw-id: //depot/perl@5013
Diffstat (limited to 'pod/perlunicode.pod')
-rw-r--r--pod/perlunicode.pod9
1 files changed, 3 insertions, 6 deletions
diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod
index 5a73d4e959..bebf7aadec 100644
--- a/pod/perlunicode.pod
+++ b/pod/perlunicode.pod
@@ -31,12 +31,9 @@ or from literals and constants in the source text. Later, in
L</Character encodings for input and output>, we'll see how such
inputs may be marked as being Unicode character data sources.
-One particular condition will enable character semantics on the entire
-program, bypassing the compatibility mode: if the C<$^U> global flag is
-set to C<1>, nearly all operations will use character semantics by
-default. As an added convenience, if the C<utf8> pragma is used in the
-C<main> package, C<$^U> is enabled automatically. [XXX: Should there
-be a -C switch to enable $^U?]
+If the C<$^U> global flag is set to C<1>, all system calls will use the
+corresponding wide character APIs. This is currently only implemented
+on Windows. [XXX: Should there be a -C switch to enable $^U?]
Regardless of the above, the C<byte> pragma can always be used to force
byte semantics in a particular lexical scope. See L<byte>.