Re: PERL_UNICODE and smokes
[email protected] (Rafael Garcia-Suarez) 10 Mar 2004 11:00:13 -0000
| Newsgroups | perl.daily-build |
|---|---|
| Message-ID | <[email protected]> |
Abe Timmerman wrote in perl.daily-build :
>> The recent smoke failures noticed by Merijn are reproducible with
>> the environment variables
>> PERL_UNICODE=""
>> LC_ALL=fr_FR.utf8 (or another utf8 locale)
>> perlrun states clearly that PERL_UNICODE being unset is not equivalent
>> to PERL_UNICODE="", but to PERL_UNICODE="0". I don't know how
>> Test::Smoke sets those variables up,
>
> From Test::Smoke::Smoker::make_test()
>
> local( $ENV{PERLIO}, $ENV{LC_ALL}, $ENV{PERL_UNICODE} ) =
> ( "", defined $ENV{LC_ALL} ? $ENV{LC_ALL} : "", "" );
I was merely suggesting something like
local( $ENV{PERLIO}, $ENV{LC_ALL}, $ENV{PERL_UNICODE} ) =
( "", defined $ENV{LC_ALL} ? $ENV{LC_ALL} : "",
$ENV{LC_ALL} ? "" : undef,
);
because if I understand the setup correctly nothing is ever smoked
without PERL_UNICODE="". And the default mode of operation for most
people is with PERL_UNICODE unset.
Makes sense ?