Re: Encoding iso-8859-16

[email protected] (Sastry)
Newsgroups perl.unicode,perl.mvs,perl.perl5.porters,perl.beginners
Message-ID <[email protected]>
Hi 

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?

-Sastry


On 8/19/05, Nicholas Clark <[email protected]> wrote:
> On Fri, Aug 19, 2005 at 05:01:04PM +0530, Sastry wrote:
> > Hi Nicholas
> >
> > With reference to my previous mail on encoding module
> >
> > use Encode;
> > $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
> differs.
> 
> > 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
> > platform?
> 
> 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.
> 
> Nicholas Clark
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.