From: Jarkko Hietaniemi Date: Tue, 27 Nov 2001 01:02:21 +0000 (+0000) Subject: Be UTF-EBCDIC aware. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0ef00eb6701415c9339a7b643581bac5c191c738;p=p5sagit%2Fp5-mst-13.2.git Be UTF-EBCDIC aware. p4raw-id: //depot/perl@13299 --- diff --git a/lib/bytes.t b/lib/bytes.t index 05c748c..dda2b87 100644 --- a/lib/bytes.t +++ b/lib/bytes.t @@ -22,7 +22,11 @@ print ord($c) == 0x100 ? "ok 4\n" : "not ok 4\n"; { use bytes; - print ord($c) == 0xc4 ? "ok 5\n" : "not ok 5\n"; + if (ord('A') == 193) { + print ord($c) == 0x8c ? "ok 5\n" : "not ok 5\n"; + } else { + print ord($c) == 0xc4 ? "ok 5\n" : "not ok 5\n"; + } print length($c) == 2 ? "ok 6\n" : "not ok 6\n"; }