Hi
I am getting strange result when I run this Perl Script on EBCDIC
platform. The $enc_string  contains >ñ=Á
When I run the same on linux, I get the same string as "ravi". can
someone enlighten me as how the encode method is supposed to work on?


use Encode;
$string = "ravi";
enc_string = encode("iso-8859-16", $string);
print "\n String: $string\n";
print "\n enc_string: $enc_string\n";

Thanks in advance
Sastry

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to