Porters,
On Oct 24, 2004, at 20:50, Dan Kogai wrote:
The following patch does that. The new Encode::utf8->decode() checks
$self->renewed and if so it sets Encode:RETURN_ON_ERR. Here is the
patch or you can wait for Encode-2.08.
One patch to Unicode/Unicode.xs was missing and Unicode/Unicode.pm was
garbled. Here we go again, the patch against 2.07. Forget the
previous patch.
Or wait for Encode-2.08
And here comes Encode-2.08. If you are by any chance using
Encode-2.07, upgrade RIGHT NOW!
=head1 Tested
As follows:
Perl 5.8.3 on Mac OS X v10.3.5 (/usr/bin/perl, post-built as in CPAN)
Perl 5.8.5 on Mac OS X v10.3.5 (post-built)
on FreeBSD 4.10-STABLE (post-built)
bleedperl on Mac OS X v10.3.5 (integrally built w/ whole perl dist)
on FreeBSD 4.10-STABLE (integrally built)
=head1 Availability
http://www.dan.co.jp/~dankogai/cpan/Encode-2.08.tar.gz
or CPAN near you
=head1 Changes
$Revision: 2.8 $ $Date: 2004/10/24 13:00:29 $
! Encode.xs lib/Encode/Encoding.pm Unicode/Unicode.{pm,xs}
Resolved the issue that was raised by the Encode::utf8 fallbacks vs.
PerlIO::encoding issue that was introduced in 2.07. This is done by
making use of ->renew() method that used to be used only by
Encode::Unicode. ->renewed() method was also introduced to fetch
the value thereof.
Message-Id: <94B2EB12-25B7-11D9-9E6A-000A95DBB50A(_at_)dan(_dot_)co(_dot_)jp>
=head1 Epilogue
Enjoy!
Dan the Encode Maintainer