summaryrefslogtreecommitdiff
path: root/pod/perlunifaq.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@khw-desktop.(none)>2010-05-05 12:16:48 -0600
committerJesse Vincent <jesse@bestpractical.com>2010-05-08 16:37:56 -0400
commit9e5bbba0de25c01ae9355c7a97e237602a37e9f3 (patch)
treeb3bd49cb6b3aac8959763398c8f87ddc08f47138 /pod/perlunifaq.pod
parentd88362caea867f741c6a60e4a573f321c72b32d6 (diff)
downloadperl-9e5bbba0de25c01ae9355c7a97e237602a37e9f3.tar.gz
perlunifaq, uniintro: fix for 80 col display
Diffstat (limited to 'pod/perlunifaq.pod')
-rw-r--r--pod/perlunifaq.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlunifaq.pod b/pod/perlunifaq.pod
index ab42ff194a..8d507709e7 100644
--- a/pod/perlunifaq.pod
+++ b/pod/perlunifaq.pod
@@ -84,12 +84,12 @@ or encode anymore, on things that use the layered handle.
You can provide this layer when C<open>ing the file:
- open my $fh, '>:encoding(UTF-8)', $filename; # auto encoding on write
- open my $fh, '<:encoding(UTF-8)', $filename; # auto decoding on read
+ open my $fh, '>:encoding(UTF-8)', $filename; # auto encoding on write
+ open my $fh, '<:encoding(UTF-8)', $filename; # auto decoding on read
Or if you already have an open filehandle:
- binmode $fh, ':encoding(UTF-8)';
+ binmode $fh, ':encoding(UTF-8)';
Some database drivers for DBI can also automatically encode and decode, but
that is sometimes limited to the UTF-8 encoding.