summaryrefslogtreecommitdiff
path: root/pod/perluniintro.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-03-20 10:15:36 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-03-20 10:15:36 +0000
commitcc5e35530cecae3181bf0cafea49ebb522764a26 (patch)
tree01f6c181e56823c76572b3b43b8d4d984a412bc4 /pod/perluniintro.pod
parentf95e3c3c228481b72487a9bd026d60905eb2ab0f (diff)
downloadperl-cc5e35530cecae3181bf0cafea49ebb522764a26.tar.gz
\x80\xFF is not valid UTF-8.
p4raw-id: //depot/perl@22540
Diffstat (limited to 'pod/perluniintro.pod')
-rw-r--r--pod/perluniintro.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod
index af3d78b0a9..19bc82e7da 100644
--- a/pod/perluniintro.pod
+++ b/pod/perluniintro.pod
@@ -250,7 +250,7 @@ If you want to force the result to Unicode characters, use the special
C<"U0"> prefix. It consumes no arguments but forces the result to be
in Unicode characters, instead of bytes.
- my $chars = pack("U0C*", 0x80, 0xFF);
+ my $chars = pack("U0C*", 0x80, 0x42);
Likewise, you can force the result to be bytes by using the special
C<"C0"> prefix.