perl-unicode

Re: Converting UTF-EBCDIC to UTF-8

2003-03-17 09:30:06
>> Hello,
>>
>> I am trying to work out the easiest way that I can coax perl to covert
>> text from UTF-EBCDIC to UTF-8 and back. If anyone can provide some clue
>> that would be greatly appreciated.
>>
>> Brian
>
>Still preliminary edition...
>
>http://homepage1.nifty.com/nomenclator/perl/Unicode-Transform-0.10.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/test.......FAILED tests 6-13
       Failed 8/24 tests, 66.67% okay
Failed Test Stat Wstat Total  Fail  Failed   List of Failed
-------------------------------------------------------------------------------
t/handler.t                       7     1   14.29%  5
t/test.t                           24     8   33.33%  6-13
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



<Prev in Thread] Current Thread [Next in Thread>