How does miniperl use enc2xs to generate different codepage tables?

2005-08-10 Thread Sastry
Hi a)Can somebody tell me how miniperl uses enc2xs to generate the codepage tables in ext/Encode/Byte/byte_t.c and ext/Encode/def_t.c? b)Are these tables different on ASCII and EBCDIC platform? -Sastry

Re: Transliteration operator(tr//)on EBCDIC platform

2005-08-10 Thread Sastry
On 8/9/05, SADAHIRO Tomoyuki [EMAIL PROTECTED] wrote: Hello, On Tue, 9 Aug 2005 15:09:42 +0530, Sastry [EMAIL PROTECTED] wrote Hi As suggested by you, I ran the following script which resulted in substituting all the characters with X irrespective of the special case [i-j]. ($a =

Re: Encoding iso-8859-16

2005-08-10 Thread Sastry
On 8/9/05, Nicholas Clark [EMAIL PROTECTED] wrote: On Tue, Aug 09, 2005 at 10:58:48AM +0530, Sastry wrote: Hi I get 73 printed on EBCDIC platform. I think it is supposed to print 129 as it is the numeric equivalent of 'a'. -Sastry On 8/8/05, Nicholas Clark [EMAIL PROTECTED]

Re: Encoding iso-8859-16

2005-08-10 Thread Nicholas Clark
On Wed, Aug 10, 2005 at 02:11:45PM +0530, Sastry wrote: On 8/9/05, Nicholas Clark [EMAIL PROTECTED] wrote: On Tue, Aug 09, 2005 at 10:58:48AM +0530, Sastry wrote: $enc_string = encode(iso-8859-16, $string); So $enc_string should be a single byte, 97, everywhere. Can you suggest some