diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-17 22:22:47 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-17 22:22:47 +0000 |
commit | 72ff290864ea88cc224b5d3af7058f500755f94a (patch) | |
tree | f234643fe093a72f93714de2121657434ab42612 /pod/perlretut.pod | |
parent | c8795d8b7ccb16a95758a094cc4a0572927cb4cc (diff) | |
download | perl-72ff290864ea88cc224b5d3af7058f500755f94a.tar.gz |
Banish "use utf8".
p4raw-id: //depot/perl@13064
Diffstat (limited to 'pod/perlretut.pod')
-rw-r--r-- | pod/perlretut.pod | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pod/perlretut.pod b/pod/perlretut.pod index f4e9bb6440..bb2423b8af 100644 --- a/pod/perlretut.pod +++ b/pod/perlretut.pod @@ -1653,12 +1653,11 @@ Unicode characters in the range of 128-255 use two hexadecimal digits with braces: C<\x{ab}>. Note that this is different than C<\xab>, which is just a hexadecimal byte with no Unicode significance. -B<NOTE>: in perl 5.6.0 it used to be that one needed to say C<use utf8> -to use any Unicode features. This is no more the case: for almost all -Unicode processing, the explicit C<utf8> pragma is not needed. -(The only case where it matters is if your Perl script is in Unicode, -that is, encoded in UTF-8/UTF-16/UTF-EBCDIC: then an explicit C<use utf8> -is needed.) +B<NOTE>: in Perl 5.6.0 it used to be that one needed to say C<use +utf8> to use any Unicode features. This is no more the case: for +almost all Unicode processing, the explicit C<utf8> pragma is not +needed. (The only case where it matters is if your Perl script is in +Unicode and encoded in UTF-8, then an explicit C<use utf8> is needed.) Figuring out the hexadecimal sequence of a Unicode character you want or deciphering someone else's hexadecimal Unicode regexp is about as |