data written on ebcdic

[email protected] (rajarshi das)
Newsgroups perl.unicode,perl.perl5.porters
Message-ID <[email protected]>
I run the following on an ebcdic platform
(perl-5.8.6), 

$BOM = chr(0xFEFF);
open(UTF_PL, ">:raw:encoding(utf16le)", "utf.pl")
        or die "utf.pl($enc,$tag): $!";
print UTF_PL $BOM;
print UTF_PL "1";



should the data that is written using PerlLIO_write,
be "\xFF \xFE \xF1" or should it be "\xFF \xFE \x31" ?

Thanks in advance,
Rajarshi.


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
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.