perl-unicode

Re: Converting UTF-EBCDIC to UTF-8

2003-03-17 10:30:06

Thank you for your report.

I was careless about the trap on a non-ASCII platform
like that ("a" eq "\x61") is not true.

So the failed tests are fixed, and some tests are added.
Ver. 0.20 is available from there:

[TAR-GZ, HTML-ized POD]
http://homepage1.nifty.com/nomenclator/perl/Unicode-Transform-0.20.tar.gz
http://homepage1.nifty.com/nomenclator/perl/Unicode-Transform.html

SADAHIRO Tomoyuki

I have run the Unicode-Transform module on using perl 5.8.0 on z/OS 
where perl's internal unicode format is UTF-EBCDIC, not UTF-8. The test 
results are as follows:

/defects/brian/unicode/Unicode-Transform-0.10:>make test
PERL_DL_NONLAZY=1 /defects/brian/nonthreaded/perl-5.8.0/perl 
"-I/defects/brian/n
onthreaded/perl-5.8.0/lib" "-I/defects/brian/nonthreaded/perl-5.8.0/lib" 
"-MExtU
tils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/handler....FAILED test 5
        Failed 1/7 tests, 85.71% okay
t/handler.t                       7     1   14.29%  5
t/test.t                           24     8   33.33%  6-13
t/test.......FAILED tests 6-13
        Failed 8/24 tests, 66.67% okay
Failed Test Stat Wstat Total  Fail  Failed   List of Failed
-------------------------------------------------------------------------------
Failed 2/2 test scripts, 0.00% okay. 9/31 subtests failed, 70.97% okay.
make: *** [test_dynamic] Error 121

Could these failures be due to an assumption of UTF-8 in the tests, or 
do they show some real problems with running this module on z/OS.

Thanks
Brian