From: Karl Williamson Date: Wed, 10 Mar 2010 23:47:55 +0000 (-0700) Subject: Note that can be warned on implicit utf8 upgrade X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d9b01026c06e57b0b2693843df5de20c56e09baf;p=p5sagit%2Fp5-mst-13.2.git 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. --- diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod index ae13a33..1f4be43 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, below +character semantics. This can cause surprises: See L, below. +You can choose to be warned when this happens. See L. Under character semantics, many operations that formerly operated on bytes now operate on characters. A character in Perl is