From: Rafael Garcia-Suarez Date: Sat, 20 Mar 2004 10:15:36 +0000 (+0000) Subject: \x80\xFF is not valid UTF-8. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cc5e35530cecae3181bf0cafea49ebb522764a26;p=p5sagit%2Fp5-mst-13.2.git \x80\xFF is not valid UTF-8. p4raw-id: //depot/perl@22540 --- diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod index af3d78b..19bc82e 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.