develooper Front page | perl.perl5.porters | Postings from October 2005

unpack results on EBCDIC

Thread Previous | Thread Next
From:
rajarshi das
Date:
October 28, 2005 07:13
Subject:
unpack results on EBCDIC
Message ID:
20051028141339.64070.qmail@web33711.mail.mud.yahoo.com
Hi,
On EBCDIC, I get the following results on perl-5.8.6 : 
 
@t1 = unpack("aU0C/UU", "b\0\341\277\274");
print "t1 : @t1\n";
 
@t2 = unpack("aU0C/CU", "b\0\341\277\274");
print "t2 : @t2\n";
 
Gives : 
t1 : b 0
t2 : b 0
 
Are these results correct ? 
 
Thanks,
Rajarshi.


		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About