develooper Front page | perl.perl5.porters | Postings from January 2003

UTF-8 failures (surprise!)

From:
Jarkko Hietaniemi
Date:
January 29, 2003 13:09
Subject:
UTF-8 failures (surprise!)
Message ID:
20030129210920.GA28252@kosh.hut.fi
Running the test suite under env PERL_UTF8_LOCALE=1 LC_ALL=en_US.UTF-8
(or whatever UTF-8 locale one has) seems to shake out some quite weird
bugs (this is the new way, the old way was just LC_ALL=en_US.UTF-8):

Failed Test                   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
../lib/ExtUtils/t/Embed.t                    9    9 100.00%  1-9
../lib/ExtUtils/t/Installed.t    7  1792    46    7  15.22%  9 29 31 33-34 37
                                                             40
../lib/strict.t                            103   14  13.59%  18-21 47-50 74-78
                                                             98
../lib/warnings.t                          483   75  15.53%  9-13 32-35 82-85
                                                             99-102 128-131
                                                             158-175 178-211
                                                             282-283
op/pack.t                                 5826    4   0.07%  140-141 5418 5420
op/subst_wamp.t                            126    2   1.59%  70-71
26 tests and 410 subtests skipped.
Failed 6/588 test scripts, 98.98% okay. 111/60538 subtests failed, 99.82% okay.

(This with a Debian 3.0 and LC_ALL=en_US.UTF-8)

The first four are bizarre failures of require(): somehow UTF-8 being
part of the mix (the required filename being UTF-8 tagged, maybe?)
causes require to fail, sometimes.  I tried cutting the test scripts
down but they are all rather complex, so I got lost.  The last two are
not much clearer as far as failures go.

-- 
Jarkko Hietaniemi <jhi@iki.fi> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen



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