From: Jeffrey Friedl Date: Tue, 18 Dec 2001 10:27:45 +0000 (-0800) Subject: pod/perluniintro.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4049dcd4538c1301929cdfff69bc80cbae742f94;p=p5sagit%2Fp5-mst-13.2.git pod/perluniintro.pod Message-Id: <200112181827.fBIIRjv16547@ventrue.corp.yahoo.com> p4raw-id: //depot/perl@13763 --- diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod index 775609c..c89fef3 100644 --- a/pod/perluniintro.pod +++ b/pod/perluniintro.pod @@ -142,7 +142,7 @@ transparently upgraded to Unicode. Internally, Perl currently uses either whatever the native eight-bit character set of the platform (for example Latin-1) or UTF-8 to encode Unicode strings. Specifically, if all code points in the string are -0xFF or less, Perl uses Latin-1. Otherwise, it uses UTF-8. +0xFF or less, Perl uses the native eight-bit character set. Otherwise, it uses UTF-8. A user of Perl does not normally need to know nor care how Perl happens to encodes its internal strings, but it becomes relevant when outputting @@ -164,8 +164,7 @@ To output UTF-8 always, use the ":utf8" output discipline. Prepending binmode(STDOUT, ":utf8"); to this sample program ensures the output is completely UTF-8, and -of course, removes the warning. Another way to achieve this is the -L pragma, discussed later in L. +of course, removes the warning. Perl 5.8.0 will also support Unicode on EBCDIC platforms. There the support is somewhat harder to implement since additional conversions