Hi,
This are the tetstcase i'm runing on EBCDIC platform,
my $b = chr(0x0FF);
$p=utf8::upgrade($b);
print \n$p;
utf8::upgarde returns the number of octets necessary
to represent the string as UTF-X.
EBCDIC output is 1 whereas ASCII platform output is 2.
Is the return value i'm getting on
Hello.
I think it is correct.
On EBCDIC platforms, perl uses UTF-EBCDIC instead of UTF-8,
nevertheless perl calls it utf8.
In general chr(0xFF) (equals to \xFF) in EBCDIC encodings
corresponds to U+009F, that is a single-octet control character;
thus a single octet sequence \xFF is well-form in