On Sun, Oct 02, 2005 at 11:43:15PM -0700, mohammad yaseen wrote: > Hi, > > I'm running this test on EBCDIC platform, > > binmode(STDOUT, ":encoding(sjis)"); > > I'm getting this error > > Cannot find encoding "sjis" > > I further investigated on this and found > ./lib/Encode/CN.pm: die "Encode::CN not supported > on EBCDIC\n"; > ./lib/Encode/JP.pm: die "Encode::JP not supported > on EBCDIC\n"; > ./lib/Encode/KR.pm: die "Encode::KR not supported > on EBCDIC\n"; > ./lib/Encode/TW.pm: die "Encode::TW not supported > on EBCDIC\n"; > > These files correspond to > Chinese,Japanese(shiftjis),Korean and Taiwanese > encoding. > > Is this means that these encoding are not supported on > EBCDIC ? If yes, whether the Perl code is not > available for these encoding or the platform doesn't > have support this encoding.
My limited understanding of the Encode module is that all the character conversion tables are provided in the source. Hence any conversion is (in theory) possible on any platform. There's no comment as to why near those die statements, but my guess is that it's "not supported" because the author had no access to test things on EBCDIC. Nicholas Clark
