perl-unicode

Re: [PATCH] Big5-related changes.

2002-04-19 16:00:13
Autrijus,

I now found that your new *.ucm smokes on t/TW.t

1..17
ok 1 - use Encode::TW;
ok 2 - [big5] decode - Basic Big5 range
ok 3 - [big5] encode - Basic Big5 range
ok 4 - [big5] from_to => utf8 - Basic Big5 range
ok 5 - [big5] utf8 => from_to - Basic Big5 range
ok 6 - [big5-hkscs] decode - Basic Big5 range
ok 7 - [big5-hkscs] encode - Basic Big5 range
ok 8 - [big5-hkscs] from_to => utf8 - Basic Big5 range
ok 9 - [big5-hkscs] utf8 => from_to - Basic Big5 range
ok 10 - [cp950] decode - Basic Big5 range
ok 11 - [cp950] encode - Basic Big5 range
ok 12 - [cp950] from_to => utf8 - Basic Big5 range
ok 13 - [cp950] utf8 => from_to - Basic Big5 range
ok 14 - [big5-hkscs] decode - Hong Kong Extensions
not ok 15 - [big5-hkscs] encode - Hong Kong Extensions
#     Failed test (t/TW.t at line 81)
# got: '·P?©??¨??Perl ??Aµ?§?]??¨£©M?ª??pªG?s?X??¥????i¶D§?]¡C' # expected: '·P?©??¨??Perl ????Aµ?§?]??«?¨£©M?ª??pªG?s?X??¥????i¶D§?]¡C'
ok 16 - [big5-hkscs] from_to => utf8 - Hong Kong Extensions
not ok 17 - [big5-hkscs] utf8 => from_to - Hong Kong Extensions
#     Failed test (t/TW.t at line 90)
# got: '·P?©??¨??Perl ??Aµ?§?]??¨£©M?ª??pªG?s?X??¥????i¶D§?]¡C' # expected: '·P?©??¨??Perl ????Aµ?§?]??«?¨£©M?ª??pªG?s?X??¥????i¶D§?]¡C'
# Looks like you failed 2 tests of 17.

Is this okay? I think this is due to the edition difference. If so, please submit a fixed version of TW.t

FYI here is what ucmlint is saying.

Was:
> perl5.7.3 -Mblib bin/ucmlint -e ucm/big5-*.ucm
ucm/big5-eten.ucm: no error found
ucm/big5-hkscs.ucm: no error found
Is:
ucm/big5-eten.ucm: 16 errors found
ucm/big5-hkscs.ucm: 1319 errors found

Dan the Encode Maintainer