The test case uses the invariant character that is below <127 on
ISO-8859-16 codepage. Since character 'a' has a codepoint of 129 on
EBCDIC, is there a place in the code where it should apply
NATIVE_TO_ASCII macro on the input character?
On 8/19/05, Nicholas Clark <nick(_at_)ccl4(_dot_)org> wrote:
On Fri, Aug 19, 2005 at 05:01:04PM +0530, Sastry wrote:
With reference to my previous mail on encoding module
$string = "a";
$enc_string = encode("iso-8859-16", $string);
print "\n String: $string\n";
print "\n enc_string: $enc_string\n";
a)How different are those ext/Encode/def_t.c and
ext/Encode/Byte/byte_t.c files in EBCDIC and ASCII platforms?
I don't know. I have no experience of EBCDIC. The files describe converting
from perl's internal representation to a fixed external representation.
So I assume that they have to differ because the internal representation
b) Why is it when I copied the above .c files from ASCII platform to
EBCDIC worked for any codepage except IBM-1047 codepage on EBCDCI
I don't know. How thorough are the tests? Do the tests check for the
conversion of characters with Unicode code points >127?
You're asking questions beyond my knowledge.