chr function on z/OS.

[email protected] (rajarshi das)
Newsgroups perl.unicode
Message-ID <[email protected]>
Hi,

I have a basic doubt regarding unicode and z/OS
(ebcdic : ibm-1047).

$a = chr(0x00A1);

$b = chr(0xA1); 

Should $a and $b be equal or yield different results
on ebcdic ? 

$b is definitely the character "~". Is $a also the
same thing or is it the character equivalent to "\xAA"
? 

$a on linux gives me the char "inverted exclamation
mark" which is the character at codepoint "A1" on
codepage-819. 

Is the argument to the chr function for $a a unicode
scalar value ? 
If yes, $a on ascii and ebcdic should be the same
("A1" on ascii and "AA" on ebcdic) ? 

Thanks in advance,
Rajarshi.



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new Resources site
http://smallbusiness.yahoo.com/resources/
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.