This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2d41e2
)
Typo fix from Julian Gilbey, forwarded upstream from Debian by
author
Nicholas Clark
<nick@ccl4.org>
Fri, 16 Jul 2004 13:21:33 +0000
(13:21 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 16 Jul 2004 13:21:33 +0000
(13:21 +0000)
Brendan O'Dea
p4raw-id: //depot/perl@23129
pod/perluniintro.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perluniintro.pod
b/pod/perluniintro.pod
index
19bc82e
..
81efd6b
100644
(file)
--- a/
pod/perluniintro.pod
+++ b/
pod/perluniintro.pod
@@
-668,8
+668,8
@@
How Do I Detect Data That's Not Valid In a Particular Encoding?
Use the C<Encode> package to try converting it.
For example,
- use Encode '
en
code_utf8';
- if (
en
code_utf8($string_of_bytes_that_I_think_is_utf8)) {
+ use Encode '
de
code_utf8';
+ if (
de
code_utf8($string_of_bytes_that_I_think_is_utf8)) {
# valid
} else {
# invalid