summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@khw-desktop.(none)>2010-03-10 16:47:55 -0700
committerJesse Vincent <jesse@bestpractical.com>2010-03-11 08:58:53 +0100
commitd9b01026c06e57b0b2693843df5de20c56e09baf (patch)
treeb195d5c8b81f34a880d1012de61a13e5a4dac7d8
parent0fa4a26596a4646f9aae1dcd199a2f30933e6f01 (diff)
downloadperl-d9b01026c06e57b0b2693843df5de20c56e09baf.tar.gz
Note that can be warned on implicit utf8 upgrade
The module encoding::warnings can be used to warn when two strings are concatenated where one is utf8 and the other is not and contains non-ASCII. Note the existence of this in the pod documentation.
-rw-r--r--pod/perlunicode.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod
index ae13a33b14..1f4be434da 100644
--- a/pod/perlunicode.pod
+++ b/pod/perlunicode.pod
@@ -122,7 +122,8 @@ be used to force byte semantics on Unicode data, and the C<use feature
If strings operating under byte semantics and strings with Unicode
character data are concatenated, the new string will have
-character semantics. This can cause surprises: See L</BUGS>, below
+character semantics. This can cause surprises: See L</BUGS>, below.
+You can choose to be warned when this happens. See L<encoding::warnings>.
Under character semantics, many operations that formerly operated on
bytes now operate on characters. A character in Perl is