Hi
I am running the following script on EBCDIC
use Encode;
$string = "a";
$enc_string = encode("iso-8859-16", $string);
print "\n String: $string\n";
print "\n enc_string: $enc_string\n";
The output:
String: a
enc_string: ñ (This is the character for codepoint \xF1 on iso-8859-16)
What is th
Hi
I am trying to run this script on an EBCDIC platform using perl-5.8.6
($a = "\x89\x8a\x8b\x8c\x8d\x8f\x90\x91") =~ tr/\x89-\x91/X/;
is($a, "");
The result I get is
'X«»ðý±°X'
a) Is this happening since \x8a\x8b\x8c\x8d\x8f\x90 are the gapped
characters in EBCDIC ?
or
b) Should