X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/4b844e06c99d9c2e251dde1c8abc47508b801786..9e92194e47c35a3910a8726b88f0abc6c1c0df3c:/pod/perlunicode.pod?ds=inline diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod index dfd6d42..b9a43c3 100644 --- a/pod/perlunicode.pod +++ b/pod/perlunicode.pod @@ -1371,7 +1371,7 @@ for more discussion of the issues. =head2 Locales Usually locale settings and Unicode do not affect each other, but -there are a couple of exceptions: +there are exceptions: =over 4 @@ -1386,7 +1386,12 @@ variable, see L for the documentation of the C<-C> switch. Perl tries really hard to work both with Unicode and the old byte-oriented world. Most often this is nice, but sometimes Perl's -straddling of the proverbial fence causes problems. +straddling of the proverbial fence causes problems. Here's an example +of how things can go wrong. A locale can define a code point to be +anything it wants. It could make 'A' into a control character, for example. +But strings encoded in utf8 always have Unicode semantics, so an 'A' in +such a string is always an uppercase letter, never a control, no matter +what the locale says it should be. =back