3 use encoding "latin1"; # ignored (overwritten by the next line)
11 # "greek" is "ISO 8859-7", and \xDF in ISO 8859-7 is
12 # \x3AF in Unicode (GREEK SMALL LETTER IOTA WITH TONOS),
13 # instead of \xDF in Unicode (LATIN SMALL LETTER SHARP S)
15 print "not " unless ord($c) == 0x3af;
18 print "not " unless length($c) == 2;
21 print "not " unless ord(substr($c, 1, 1)) == 0x100;