From c2fb32edc234107b228ad111978fd44a32d38849 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Wed, 27 Jun 2012 08:51:26 -0700 Subject: [PATCH] perluniintro: #109408 --- pod/perluniintro.pod | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod index 8ce4b7b..92c5d97 100644 --- a/pod/perluniintro.pod +++ b/pod/perluniintro.pod @@ -145,12 +145,12 @@ I and I (BOMs) are--see L. =head2 Perl's Unicode Support -Starting from Perl 5.6.0, Perl has had the capacity to handle Unicode -natively. Perl 5.8.0, however, is the first recommended release for +Starting from Perl v5.6.0, Perl has had the capacity to handle Unicode +natively. Perl v5.8.0, however, is the first recommended release for serious Unicode work. The maintenance release 5.6.1 fixed many of the problems of the initial Unicode implementation, but for example regular expressions still do not work with Unicode in 5.6.1. -Perl 5.14.0 is the first release where Unicode support is +Perl v5.14.0 is the first release where Unicode support is (almost) seamlessly integrable without some gotchas (the exception being some differences in L, which is fixed starting in Perl 5.16.0). To enable this @@ -159,12 +159,12 @@ automatically selected if you C or higher). See L. (5.14 also fixes a number of bugs and departures from the Unicode standard.) -Before Perl 5.8.0, the use of C was used to declare +Before Perl v5.8.0, the use of C was used to declare that operations in the current block or file would be Unicode-aware. This model was found to be wrong, or at least clumsy: the "Unicodeness" is now carried with the data, instead of being attached to the operations. -Starting with Perl 5.8.0, only one case remains where an explicit C is needed: if your Perl script itself is encoded in UTF-8, you can use UTF-8 in your identifier names, and in string and regular expression literals, by saying C. This is not the default because @@ -176,7 +176,7 @@ Perl supports both pre-5.6 strings of eight-bit native bytes, and strings of Unicode characters. The general principle is that Perl tries to keep its data as eight-bit bytes for as long as possible, but as soon as Unicodeness cannot be avoided, the data is transparently upgraded -to Unicode. Prior to Perl 5.14, the upgrade was not completely +to Unicode. Prior to Perl v5.14.0, the upgrade was not completely transparent (see L), and for backwards compatibility, full transparency is not gained unless C (see L) or C (or higher) is @@ -415,7 +415,7 @@ streams, use explicit layers directly in the C call. You can switch encodings on an already opened stream by using C; see L. -The C<:locale> does not currently (as of Perl 5.8.0) work with +The C<:locale> does not currently work with C and C, only with the C pragma. The C<:utf8> and C<:encoding(...)> methods do work with all of C, C, and the C pragma. -- 2.7.4