projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f95e3c3
)
\x80\xFF is not valid UTF-8.
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Sat, 20 Mar 2004 10:15:36 +0000
(10:15 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Sat, 20 Mar 2004 10:15:36 +0000
(10:15 +0000)
p4raw-id: //depot/perl@22540
pod/perluniintro.pod
patch
|
blob
|
history
diff --git
a/pod/perluniintro.pod
b/pod/perluniintro.pod
index
af3d78b
..
19bc82e
100644
(file)
--- 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, 0x
FF
);
+ my $chars = pack("U0C*", 0x80, 0x
42
);
Likewise, you can force the result to be bytes by using the special
C<"C0"> prefix.