perl-unicode

Re: Encode::JP unsupported while Encode::CN and others are

2002-03-23 12:19:20
On Sun, Mar 24, 2002 at 04:07:25AM +0900, Dan Kogai wrote:
On Sunday, March 24, 2002, at 03:21 , Jarkko Hietaniemi wrote:
Change 15442 by jhi(_at_)alpha on 2002/03/23 17:17:47

    Since the Encode::JP is unsupported under EBCDIC we
    cannot run this test (aliases as such should work fine).

That comes to this;  How come only Encode::JP is marked dysfunctional on 
EBCDIC while CN/TW/KR is not?  Anything with EUC must have been 

The CN.t and TW.t are marked "do not go here if EBCDIC", so they are
just skipped.  The respective CN/TW/KR.pm should be marked, too,
that's just an oversight, since as Encode now stands, it does
not work.

The results I got are @15421, so it's Encode 0.95.  I can retry
with later Encode, but compiling in this box is really slow.
Let me rephrase that: REALLY slow.  I think Encode alone takes
hours to compile (the full Configure-make-harness cycle is more
than 24 hours).

affected.  If CN and KR works so should JP (euc-tw is in 
Encode::HanExtra so TW might not be the case but the rest of CJK does 
contain euc, at least).

jhi, would you check to see if Encode::JP works without EBCDIC check and 
show the error message again?  There are a lot of changes since EBCDIC 

Disabled the stopgaps:

/perl/perl/t ./perl -I../lib ../ext/Encode/t/JP.t
1..27
ok 1 - require Encode::JP;
ok 2
ok 3
ok 4
# Basic decode test
ok 5
ok 6
euc-jp "\xF8" does not map to Unicode (3) at ../ext/Encode/t/JP.t line 50, <$sr.
not ok 7
#     Failed test (../ext/Encode/t/JP.t at line 52)
not ok 8
#     Failed test (../ext/Encode/t/JP.t at line 53)
#          got: '26961'
#     expected: '0'
not ok 9
#     Failed test (../ext/Encode/t/JP.t at line 57)
# Basic decode test
ok 10
ok 11
euc-jp "\xF0" does not map to Unicode (3) at ../ext/Encode/t/JP.t line 50, <$sr.
not ok 12
#     Failed test (../ext/Encode/t/JP.t at line 52)
not ok 13
#     Failed test (../ext/Encode/t/JP.t at line 53)
#          got: '20935'
#     expected: '0'
not ok 14
#     Failed test (../ext/Encode/t/JP.t at line 57)
# Basic encode test
ok 15
ok 16
not ok 17
#     Failed test (../ext/Encode/t/JP.t at line 69)
not ok 18
#     Failed test (../ext/Encode/t/JP.t at line 70)
#          got: '20465'
#     expected: '0'
not ok 19
#     Failed test (../ext/Encode/t/JP.t at line 74)
ok 20
# src :encoding test
ok 21
ok 22
euc-jp "\xF0" does not map to Unicode (3) at ../ext/Encode/t/JP.t line 86.
# Looks like you planned 27 tests but only ran 22.
# Looks like your test died just after 22.

/perl/perl/t ./perl -I../lib ../ext/Encode/t/CN.t
1..29
ok 1 - use Encode::CN;
euc-cn "\xAA" does not map to Unicode (3) at ../lib/Encode.pm line 150.
# Looks like you planned 29 tests but only ran 1.
# Looks like your test died just after 1.

/perl/perl/t ./perl -I../lib ../ext/Encode/t/TW.t
1..17
ok 1 - use Encode::TW;
big5 "\xED" does not map to Unicode (3) at ../lib/Encode.pm line 150.
# Looks like you planned 17 tests but only ran 1.
# Looks like your test died just after 1.

problem was first raised....

Dan the Encode Maintainer

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen