Re: Encode-2.07 vs. PerlIO::encoding

2004-10-24 Thread Nick Ing-Simmons
Dan Kogai <[EMAIL PROTECTED]> writes: >On Oct 24, 2004, at 18:34, Rafael Garcia-Suarez wrote: >> Welcome to backward compatibility hell :) > >Hell it was but seems like I came up with a way out (yay). > >>> I just want Encode::utf8->decode() to make sure Encode:RETURN_ON_ERR >>> is >>> on when the

Re: Encode-2.07 vs. PerlIO::encoding

2004-10-24 Thread Nick Ing-Simmons
Rafael Garcia-Suarez <[EMAIL PROTECTED]> writes: >Dan Kogai wrote: >> This makes perl-5.8.6 happy but the problem is that I have made >> Encode::utf8 so that it accepts fallback values like Encode::XS (upon >> the request by Bjoern Hoehrmann via RT). Encode::utf8 used to return >> immediately a

Re: Encode-2.07 vs. PerlIO::encoding

2004-10-24 Thread Nick Ing-Simmons
Dan Kogai <[EMAIL PROTECTED]> writes: >On Oct 24, 2004, at 06:41, Rafael Garcia-Suarez wrote: >> Dan Kogai wrote: >>> Within less than 24hrs I resorted to release version 2.07. What the >>> heck. 5.8.6 is soon >> >> I applied 2.07 to bleadperl, and looks like something is broken in >> PerlIO:

Re: Encode-2.07 vs. PerlIO::encoding

2004-10-24 Thread Dan Kogai
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 garb

Re: Encode-2.07 vs. PerlIO::encoding

2004-10-24 Thread Dan Kogai
On Oct 24, 2004, at 18:34, Rafael Garcia-Suarez wrote: Welcome to backward compatibility hell :) Hell it was but seems like I came up with a way out (yay). I just want Encode::utf8->decode() to make sure Encode:RETURN_ON_ERR is on when the callar is PerlIO::encoding... Or, one could backport PerlI

Re: Encode-2.07 vs. PerlIO::encoding

2004-10-24 Thread Rafael Garcia-Suarez
Dan Kogai wrote: > This makes perl-5.8.6 happy but the problem is that I have made > Encode::utf8 so that it accepts fallback values like Encode::XS (upon > the request by Bjoern Hoehrmann via RT). Encode::utf8 used to return > immediately at partial character but now Encode:RETURN_ON_ERR is >

Encode-2.07 vs. PerlIO::encoding

2004-10-23 Thread Dan Kogai
On Oct 24, 2004, at 06:41, Rafael Garcia-Suarez wrote: Dan Kogai wrote: Within less than 24hrs I resorted to release version 2.07. What the heck. 5.8.6 is soon I applied 2.07 to bleadperl, and looks like something is broken in PerlIO::encoding. More precisely, ext/PerlIO/t/encoding.t fails te