X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlunicode.pod;h=8489702fd578f5bbc7846c97d7daa55f79a94ed8;hb=f7e7bc433bd27536177abe998df51111ab543b7a;hp=25d512e70e70bafb1b3d59dfa72bb9f3b4e593f3;hpb=818c4caa84c1eb56340765ecb8e5b3df206aeab1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod index 25d512e..8489702 100644 --- a/pod/perlunicode.pod +++ b/pod/perlunicode.pod @@ -12,7 +12,7 @@ from cover to cover, Perl does support many Unicode features. =over 4 -=item Input and Output Disciplines +=item Input and Output Layers Perl knows when a filehandle uses Perl's internal Unicode encodings (UTF-8, or UTF-EBCDIC if in EBCDIC) if the filehandle is opened with @@ -37,7 +37,7 @@ included to enable recognition of UTF-8 in the Perl scripts themselves (in string or regular expression literals, or in identifier names) on ASCII-based machines or to recognize UTF-EBCDIC on EBCDIC-based machines. B -is needed.> +is needed.> See L. You can also use the C pragma to change the default encoding of the data in your script; see L. @@ -87,7 +87,7 @@ Unless explicitly stated, Perl operators use character semantics for Unicode data and byte semantics for non-Unicode data. The decision to use character semantics is made transparently. If input data comes from a Unicode source--for example, if a character -encoding discipline is added to a filehandle or a literal Unicode +encoding layer is added to a filehandle or a literal Unicode string constant appears in a program--character semantics apply. Otherwise, byte semantics are in effect. The C pragma should be used to force byte semantics on Unicode data.