Jarkko Hietaniemi <[EMAIL PROTECTED]> writes:
>On Mon, Jun 10, 2002 at 07:55:31PM +0100, Nick Ing-Simmons wrote:
>> Jarkko Hietaniemi <[EMAIL PROTECTED]> writes:
>> >> linux        stdio/perlio     -Uuseperlio
>> >> linux        stdio/perlio     -DDEBUGGING -Uuseperlio
>> >>     ext/Encode/t/CJKT....................FAILED at test 6
>> >>     ext/Encode/t/guess...................FAILED at test 9
>> >
>> >Ooops, #17150 didn't expect -Uuseperlio.
>> 
>> I propose to fix that by allowing :bytes (as a nop) in -Uuseperlio 
>> Objections?
>
>Ummm, well, I guess that would work too, but wouldn't the "binmode(FH)
>means an implicit :bytes (if available)" what you suggested earlier be
>even better?

Perhaps - I intend to try it and see.
What bothers me is binmode() after :encoding is bad news if binmode()
turns off UTF-8 ness:

open(FH,">:encoding(Xxxx)",$file)
binmode($file);

The translate tables expect UTF-8 encoded chars, so blindly turning 
off PERLIO_F_UTF8 is a bad idea.

I have a feeling that some of tests do that - to avoid CRLF issues.


>
>> -- 
>> Nick Ing-Simmons
>> http://www.ni-s.u-net.com/
-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/

Reply via email to