From afba153847998f7056cb1eb03e5b36c87f9b074a Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Mon, 18 Apr 2011 21:35:33 -0600 Subject: [PATCH] perluniintro: Update for 5.14 changes --- pod/perluniintro.pod | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod index ac12109..3fbff00 100644 --- a/pod/perluniintro.pod +++ b/pod/perluniintro.pod @@ -544,7 +544,8 @@ L and sections on case mapping in the L. As of Perl 5.8.0, the "Full" case-folding of I is implemented, but bugs remain in C with them. +Mappings/SpecialCasing> is implemented, but bugs remain in C with them, +mostly fixed by 5.14. =item * @@ -784,8 +785,14 @@ L How Does Unicode Work With Traditional Locales? -In Perl, not very well. Avoid using locales through the C -pragma. Use only one or the other. But see L for the +Perl tries to keep the two separated. Code points that are above 255 +are treated as Unicode; those below 256, generally as locale. This +works reasonably well except in some case-insensitive regular expression +pattern matches that in Unicode would cross the 255/256 boundary. These +are disallowed. +Also, the C<\p{}> and C<\N{}> constructs silently assume Unicode values +even for code points below 256. +See also L for the description of the C<-C> switch and its environment counterpart, C<$ENV{PERL_UNICODE}> to see how to enable various Unicode features, for example by using locale settings. -- 1.8.3.1