summaryrefslogtreecommitdiff
path: root/pod/perluniintro.pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-07-16 13:21:33 +0000
committerNicholas Clark <nick@ccl4.org>2004-07-16 13:21:33 +0000
commitbb2f379c4efa4641a7ec56364e78a5483eb0b2e2 (patch)
tree6d9cb1e9730d50f91407a4d6e3a2f5daca041668 /pod/perluniintro.pod
parentb2d41e21b21c57718b8e506bc104adc20f931613 (diff)
downloadperl-bb2f379c4efa4641a7ec56364e78a5483eb0b2e2.tar.gz
Typo fix from Julian Gilbey, forwarded upstream from Debian by
Brendan O'Dea p4raw-id: //depot/perl@23129
Diffstat (limited to 'pod/perluniintro.pod')
-rw-r--r--pod/perluniintro.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod
index 19bc82e7da..81efd6bba4 100644
--- 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 'encode_utf8';
- if (encode_utf8($string_of_bytes_that_I_think_is_utf8)) {
+ use Encode 'decode_utf8';
+ if (decode_utf8($string_of_bytes_that_I_think_is_utf8)) {
# valid
} else {
# invalid