From e7e5539a06ab5b0ab04adb55000d5c47cf9f3f32 Mon Sep 17 00:00:00 2001 From: "autrijus@ossf.iis.sinica.edu.tw" Date: Sat, 8 Feb 2003 11:54:11 +0000 Subject: [PATCH] [perl #20785] glitches with $PerlIO::encoding::fallback From: "autrijus@ossf.iis.sinica.edu.tw (via RT)" Message-Id: p4raw-id: //depot/perl@18677 --- ext/PerlIO/encoding/encoding.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/PerlIO/encoding/encoding.pm b/ext/PerlIO/encoding/encoding.pm index 16a629c..53c9d46 100644 --- a/ext/PerlIO/encoding/encoding.pm +++ b/ext/PerlIO/encoding/encoding.pm @@ -27,7 +27,7 @@ PerlIO::encoding - encoding layer open($f, ">:encoding(bar)", "outbar"); use Encode qw(:fallbacks); - $PerlIO::encoding::check = FB_PERLQQ; + $PerlIO::encoding::fallback = FB_PERLQQ; =head1 DESCRIPTION @@ -38,7 +38,7 @@ character set and encoding to Perl string data (Unicode and Perl's internal Unicode encoding, UTF-8). On output, convert Perl string data into the specified character set and encoding. -When the layer is pushed the current value of C<$PerlIO::encoding::check> +When the layer is pushed the current value of C<$PerlIO::encoding::fallback> is saved and used as the check argument when calling the Encodings encode and decode. -- 2.7.4