diff options
author | Karl Williamson <khw@khw-desktop.(none)> | 2010-05-05 12:16:48 -0600 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2010-05-08 16:37:56 -0400 |
commit | 9e5bbba0de25c01ae9355c7a97e237602a37e9f3 (patch) | |
tree | b3bd49cb6b3aac8959763398c8f87ddc08f47138 /pod/perlunifaq.pod | |
parent | d88362caea867f741c6a60e4a573f321c72b32d6 (diff) | |
download | perl-9e5bbba0de25c01ae9355c7a97e237602a37e9f3.tar.gz |
perlunifaq, uniintro: fix for 80 col display
Diffstat (limited to 'pod/perlunifaq.pod')
-rw-r--r-- | pod/perlunifaq.pod | 6 |
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. |