develooper Front page | perl.daily-build | Postings from March 2004

Re: PERL_UNICODE and smokes

Thread Previous
From:
H.Merijn Brand
Date:
March 10, 2004 03:09
Subject:
Re: PERL_UNICODE and smokes
Message ID:
20040310120311.925B.H.M.BRAND@hccnet.nl
On Wed 10 Mar 2004 12:00, Rafael Garcia-Suarez <rgarciasuarez@free.fr> wrote:
> 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,

And I hope $LC_ALL is set from smoke, because I *NEVER* use $LC_ALL myself. I
always use $LANG

> 	      );
> 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 ?

-- 
H.Merijn Brand        Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0, & 5.9.x, and 806 on  HP-UX 10.20 & 11.00, 11i,
   AIX 4.3, SuSE 8.2, and Win2k.           http://www.cmve.net/~merijn/
http://archives.develooper.com/daily-build@perl.org/   perl-qa@perl.org
send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About