perl-unicode

encoding a sting using iso-8859-16 codepage

2005-07-05 02:39:42
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";

<Prev in Thread] Current Thread [Next in Thread>
  • encoding a sting using iso-8859-16 codepage, Sastry <=