encoding a sting using iso-8859-16 codepage

[email protected] (Sastry)
Newsgroups perl.unicode
Message-ID <[email protected]>
Hi
I have the following problem which gives different  results when I run
on linux machine and on z/OS
Could explain me the reason for so?
On linux the enc_string will still be            euro
whereas on z/OS it is                  / >,

Thanks in advance

regards
Sastry

use Encode;
$string = "euro";
$enc_string = encode("iso-8859-16", $string);
print "\n String: $string\n";
print "\n enc_string: $enc_string\n";
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.